EnableLoginPrompt
- Last Updated: August 24, 2023
- 1 minute read
- DataDirect Connectors
- JDBC
- Google BigQuery 6.0
- Documentation
Purpose
Specifies whether the driver fetches access and refresh tokens at connection
when OAuth2.0 is enabled (AuthenticationMethod=OAuth2). When this
property is enabled, the driver launches the login prompt for your service at
connection, which allows you to specify your login credentials and initiate the
dynamic authorization code grant flow. Enabling this property provides a method of
fetching access and refresh tokens without using the Configuration Manager or a
third-party tool.
Valid values
true | false
Behavior
If set to true, the driver opens the login
prompt for your service when attempting to connect. Submitting user and password
credentials via the prompt initiates the dynamic authorization code grant to fetch
access and refresh tokens.
If set to false, the driver does not launch
the login prompt for your service. If access and refresh tokens are needed for your
authentication flow, you will need to fetch them using the Configuration Manager or
another tool.
Notes
-
This property is used only for the dynamic authorization code grant flow. See "Dynamic authorization code grant" for a full list of requirements.
Data Source Method
setEnableLoginPrompt
Default
false
Data Type
String