

# Browser SSO OIDC

Browser SSO OIDC is an authentication plugin that works with Amazon IAM Identity Center. 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*.

## Authentication type
<a name="odbc-v4-driver-browser-sso-oidc-authentication-type"></a>



| **Connection string name** | **Parameter type** | **Default value** | **Connection string example** | 
| --- | --- | --- | --- | 
| AuthenticationType | Required | IAM Credentials | AuthenticationType=BrowserSSOOIDC; | 

## IAM Identity Center Start URL
<a name="odbc-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.



| **Connection string name** | **Parameter type** | **Default value** | **Connection string example** | 
| --- | --- | --- | --- | 
| sso\_oidc\_start\_url | Required | none | sso\_oidc\_start\_url=https://app\_id.awsapps.com/start; | 

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

The Amazon Web Services Region where your SSO is configured. The `SSOOIDCClient` and `SSOClient` Amazon SDK clients use this value for the `region` parameter.



| **Connection string name** | **Parameter type** | **Default value** | **Connection string example** | 
| --- | --- | --- | --- | 
| sso\_oidc\_region | Required | none | sso\_oidc\_region=us-east-1; | 

## Scopes
<a name="odbc-v4-driver-browser-sso-oidc-scopes"></a>

The list of scopes that are defined by the client. Upon authorization, this list restricts permissions when an access token is granted. The IAM Identity Center [RegisterClient](https://docs.amazonaws.cn/singlesignon/latest/OIDCAPIReference/API_RegisterClient.html) API action uses this value for the `scopes` parameter.



| **Connection string name** | **Parameter type** | **Default value** | **Connection string example** | 
| --- | --- | --- | --- | 
| sso\_oidc\_scopes | Optional | sso:account:access | sso\_oidc\_scopes=sso:account:access; | 

## Account ID
<a name="odbc-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 uses this value for the `accountId` parameter.



| **Connection string name** | **Parameter type** | **Default value** | **Connection string example** | 
| --- | --- | --- | --- | 
| sso\_oidc\_account\_id | Required | none | sso\_oidc\_account\_id=123456789123; | 

## Role name
<a name="odbc-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.



| **Connection string name** | **Parameter type** | **Default value** | **Connection string example** | 
| --- | --- | --- | --- | 
| sso\_oidc\_role\_name | Required | none | sso\_oidc\_role\_name=AthenaReadAccess; | 

## Timeout
<a name="odbc-v4-driver-browser-sso-oidc-timeout"></a>

The number of seconds to wait for the local OAuth 2.0 callback. Use `IdpResponseTimeout`; the default is `120`.



| **Connection string name** | **Parameter type** | **Default value** | **Connection string example** | 
| --- | --- | --- | --- | 
| IdpResponseTimeout | Optional | 120 | IdpResponseTimeout=90; | 

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

The local OAuth 2.0 callback port. The default redirect URI is `http://127.0.0.1:7890/oauth/callback`; a configured `listen_port` changes the port in that URI.



| **Connection string name** | **Parameter type** | **Default value** | **Connection string example** | 
| --- | --- | --- | --- | 
| listen\_port | Optional | 7890 | listen\_port=8080; | 

## Enable file cache
<a name="odbc-v4-driver-browser-sso-oidc-file-cache"></a>

Enables a disk cache for Amazon Identity and Access Management Identity Center access tokens and refresh tokens for reuse across connections and processes. Use this option to reduce the number of browser sign-in windows.



| **Connection string name** | **Parameter type** | **Default value** | **Connection string example** | 
| --- | --- | --- | --- | 
| sso\_oidc\_cache | Optional | 1 on Windows; disabled on Linux and macOS | sso\_oidc\_cache=0; | 