Skip to content

Commit

Permalink
Add ClientUserAgent to SAML and OIDCAuthRequest (#44662)
Browse files Browse the repository at this point in the history
* Add ClientUserAgent to SAML and OIDCAuthRequest

* Update generated protos
  • Loading branch information
codingllama committed Jul 26, 2024
1 parent 1e93fdb commit db15a8e
Show file tree
Hide file tree
Showing 2 changed files with 1,758 additions and 1,652 deletions.
8 changes: 8 additions & 0 deletions api/proto/teleport/legacy/types/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4479,6 +4479,10 @@ message OIDCAuthRequest {

// ClientLoginIP specifies IP address of the client for login, it will be written to the user's certificates.
string ClientLoginIP = 18 [(gogoproto.jsontag) = "client_login_ip,omitempty"];

// ClientUserAgent is the user agent of the Web browser, used for issuing a
// DeviceWebToken.
string ClientUserAgent = 19 [(gogoproto.jsontag) = "client_user_agent,omitempty"];
}

// SAMLConnectorV2 represents a SAML connector.
Expand Down Expand Up @@ -4621,6 +4625,10 @@ message SAMLAuthRequest {

// ClientLoginIP specifies IP address of the client for login, it will be written to the user's certificates.
string ClientLoginIP = 17 [(gogoproto.jsontag) = "client_login_ip,omitempty"];

// ClientUserAgent is the user agent of the Web browser, used for issuing a
// DeviceWebToken.
string ClientUserAgent = 18 [(gogoproto.jsontag) = "client_user_agent,omitempty"];
}

// AttributeMapping maps a SAML attribute statement to teleport roles.
Expand Down
Loading

0 comments on commit db15a8e

Please sign in to comment.