Using Token-based Authentication

Token-based authentication is used to interactively authenticate the connection for a single session.

When you initiate a connection using token-based authentication, the connector attempts to open a web browser. You may be prompted to type your credentials in the browser.

To configure authentication using token-based authentication:

  1. Set the OCIConfigFile property to a path that does not contain an OCI configuration file.
  2. To display a web browser used to complete the token-based authentication flow even when SQL_DRIVER_NOPROMPT is enabled, set the OCIIgnoreDriverNoPrompt property to 1.