

# Browser SSO OIDC credentials

Browser SSO OIDC is an authentication plugin that works with [Amazon IAM Identity Center](https://docs.amazonaws.cn/singlesignon/latest/userguide/what-is.html). The plugin performs dynamic client registration with SSO OIDC, opens your default browser to the SSO authorization URL, receives the authorization code through a local callback server, exchanges it for an SSO access token, and uses that token to obtain temporary Amazon credentials. The plugin uses the Authorization Code with PKCE flow.

For information on enabling and using IAM Identity Center, see [Step 1: Enable IAM Identity Center](https://docs.amazonaws.cn/singlesignon/latest/userguide/get-started-enable-identity-center.html) in the *Amazon IAM Identity Center User Guide*.

## Credentials provider
<a name="jdbc-v4-driver-browser-sso-oidc-credentials-provider"></a>

The credentials provider that will be used to authenticate requests to Amazon. Set the value of this parameter to `BrowserSSOOIDC`.



| Parameter name | Alias | Parameter type | Default value | Value to use | 
| --- | --- | --- | --- | --- | 
| CredentialsProvider | AWSCredentialsProviderClass (deprecated) | Required | none | BrowserSSOOIDC | 

## IAM Identity Center start URL
<a name="jdbc-v4-driver-browser-sso-oidc-sso-start-url"></a>

The URL for the Amazon access portal. The IAM Identity Center [RegisterClient](https://docs.amazonaws.cn/singlesignon/latest/OIDCAPIReference/API_RegisterClient.html) API action uses this value for the `issuerUrl` parameter.



| Parameter name | Alias | Parameter type | Default value | 
| --- | --- | --- | --- | 
| SsoStartUrl | sso\_oidc\_start\_url | Required | none | 

## IAM Identity Center region
<a name="jdbc-v4-driver-browser-sso-oidc-sso-region"></a>

The Amazon Web Services Region where IAM Identity Center is configured. The `SSOOIDCClient` and `SSOClient` use this value for the `region` parameter.



| Parameter name | Alias | Parameter type | Default value | 
| --- | --- | --- | --- | 
| SsoOidcRegion | sso\_oidc\_region | Required | none | 

## Account ID
<a name="jdbc-v4-driver-browser-sso-oidc-account-id"></a>

The identifier for the Amazon Web Services account that is assigned to the user. The IAM Identity Center [GetRoleCredentials](https://docs.amazonaws.cn/singlesignon/latest/PortalAPIReference/API_GetRoleCredentials.html) API action uses this value for the `accountId` parameter.



| Parameter name | Alias | Parameter type | Default value | 
| --- | --- | --- | --- | 
| SsoOidcAccountId | sso\_oidc\_account\_id | Required | none | 

## Role name
<a name="jdbc-v4-driver-browser-sso-oidc-role-name"></a>

The friendly name of the role that is assigned to the user. The name that you specify for this permission set appears in the Amazon access portal as an available role. The IAM Identity Center [GetRoleCredentials](https://docs.amazonaws.cn/singlesignon/latest/PortalAPIReference/API_GetRoleCredentials.html) API action uses this value for the `roleName` parameter.



| Parameter name | Alias | Parameter type | Default value | 
| --- | --- | --- | --- | 
| SsoOidcRoleName | sso\_oidc\_role\_name | Required | none | 

## Listen port
<a name="jdbc-v4-driver-browser-sso-oidc-listen-port"></a>

The local port number for the OAuth 2.0 callback server. The default generated redirect URI is `http://127.0.0.1:7890/oauth/callback`.



| Parameter name | Alias | Parameter type | Default value | 
| --- | --- | --- | --- | 
| ListenPort | listen\_port (deprecated) | Optional | 7890 | 

## Identity provider response timeout
<a name="jdbc-v4-driver-browser-sso-oidc-idp-response-timeout"></a>

The duration, in seconds, before the driver stops waiting for the SSO authorization response. The minimum value is 60 seconds.



| Parameter name | Alias | Parameter type | Default value | 
| --- | --- | --- | --- | 
| IdpResponseTimeout | idp\_response\_timeout (deprecated) | Optional | 120 | 

## Enable token caching
<a name="jdbc-v4-driver-browser-sso-oidc-enable-token-caching"></a>

When enabled, reuses cached SSO access tokens across driver connections. The driver can refresh an expired token. If no cached token is available, or an expired token cannot be refreshed, the driver starts browser authentication.



| Parameter name | Alias | Parameter type | Default value | 
| --- | --- | --- | --- | 
| EnableTokenCaching | none | Optional | FALSE | 