ConnectorAuthorizationCodeProperties
OAuth2 authorization code configuration that defines the properties needed for the Authorization Code grant type flow.
Contents
- AuthorizationCode
-
The authorization code received from the authorization server after user consent.
Type: ConnectorProperty object
Required: No
- AuthorizationCodeUrl
-
The authorization endpoint URL where users will be redirected to grant authorization.
Type: ConnectorProperty object
Required: No
- ClientId
-
The OAuth2 client identifier provided by the authorization server.
Type: ConnectorProperty object
Required: No
- ClientSecret
-
The OAuth2 client secret provided by the authorization server.
Type: ConnectorProperty object
Required: No
- ContentType
-
The content type to use for token exchange requests, such as application/x-www-form-urlencoded or application/json.
Type: String
Valid Values:
APPLICATION_JSON | URL_ENCODEDRequired: No
- Prompt
-
The OAuth2 prompt parameter that controls the authorization server's behavior during user authentication.
Type: ConnectorProperty object
Required: No
- RedirectUri
-
The redirect URI that must match the URI registered with the authorization server.
Type: ConnectorProperty object
Required: No
- RequestMethod
-
The HTTP method to use when making token exchange requests, typically POST.
Type: String
Valid Values:
GET | POSTRequired: No
- Scope
-
The OAuth2 scope that defines the level of access requested for the authorization code flow.
Type: ConnectorProperty object
Required: No
- TokenUrl
-
The token endpoint URL where the authorization code will be exchanged for an access token.
Type: ConnectorProperty object
Required: No
- TokenUrlParameters
-
Additional parameters to include in token URL requests as key-value pairs.
Type: Array of ConnectorProperty objects
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: