AuthenticateOidcActionConfig
¶
Source code in docs_src/capo_elastic_load_balancing_v2/types/authenticate_oidc_action_config.py
authentication_request_extra_params
instance-attribute
¶
authentication_request_extra_params: NotRequired[
AuthenticateOidcActionAuthenticationRequestExtraParams
]
The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
authorization_endpoint
instance-attribute
¶
authorization_endpoint: NotRequired[AuthenticateOidcActionAuthorizationEndpoint]
The authorization endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
client_id
instance-attribute
¶
client_id: NotRequired[AuthenticateOidcActionClientId]
The OAuth 2.0 client identifier.
client_secret
instance-attribute
¶
client_secret: NotRequired[AuthenticateOidcActionClientSecret]
The OAuth 2.0 client secret. This parameter is required if you are creating a rule. If you are modifying a rule, you can omit this parameter if you set UseExistingClientSecret to true.
issuer
instance-attribute
¶
issuer: NotRequired[AuthenticateOidcActionIssuer]
The OIDC issuer identifier of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
on_unauthenticated_request
instance-attribute
¶
on_unauthenticated_request: NotRequired[AuthenticateOidcActionConditionalBehaviorEnum]
The behavior if the user is not authenticated. The following are possible values:
-
deny
- Return an HTTP 401 Unauthorized error. -
allow
- Allow the request to be forwarded to the target. -
authenticate
- Redirect the request to the IdP authorization endpoint. This is the default value.
scope
instance-attribute
¶
scope: NotRequired[AuthenticateOidcActionScope]
The set of user claims to be requested from the IdP. The default is openid.
To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.
session_cookie_name
instance-attribute
¶
session_cookie_name: NotRequired[AuthenticateOidcActionSessionCookieName]
The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.
session_timeout
instance-attribute
¶
session_timeout: NotRequired[AuthenticateOidcActionSessionTimeout]
The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).
token_endpoint
instance-attribute
¶
token_endpoint: NotRequired[AuthenticateOidcActionTokenEndpoint]
The token endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.
use_existing_client_secret
instance-attribute
¶
use_existing_client_secret: NotRequired[AuthenticateOidcActionUseExistingClientSecret]
Indicates whether to use the existing client secret when modifying a rule. If you are creating a rule, you can omit this parameter or set it to false.
user_info_endpoint
instance-attribute
¶
user_info_endpoint: NotRequired[AuthenticateOidcActionUserInfoEndpoint]
The user info endpoint of the IdP. This must be a full URL, including the HTTPS protocol, the domain, and the path.