-
Notifications
You must be signed in to change notification settings - Fork 110
Description
Is your feature request related to a problem? Please describe.
When using Google as the Identity Provider (IdP) in the Tableau Connector Plugin, it is necessary to manually add the access_type=offline
parameter to the authUri
to receive a refresh token. This is inconvenient and inconsistent with other OAuth capabilities, such as OAUTH_CAP_REQUIRES_PROMPT_CONSENT
, which allows parameters to be added via configuration.
Describe the solution you'd like
I propose adding a new OAuth capability, such as OAUTH_CAP_REQUIRES_ACCESS_TYPE_OFFLINE
, that can be specified in the OAuth config file. This capability would automatically append access_type=offline
to the authUri
during authentication with Google.
Example:
<entry>
<key>OAUTH_CAP_REQUIRES_ACCESS_TYPE_OFFLINE</key>
<value>true</value>
</entry>
Describe alternatives you've considered
- Using the following URL format directly in the
authUri
:https://accounts.google.com/o/oauth2/v2/auth?access_type=offline
About You
Name: Ryuto Nakayama
Company: Salesforce/Tableau