-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] external/custom OAuth config does not work on Tableau Server #1147
Comments
Internal tracking: W-13667623 |
This is related to #1148, which has a Fiddler log showing why there is a 401 error/OAuth refresh token is expired error. |
The log message "OAuthConfig with id custom_galaxydev does not exist" is misleading. We have two locations where those are stored, and one location didn't find it. This is expected for the custom IDP case. Based on our other discussions this was from a single use refresh token issue. We don't support those yet. |
The error is This error is very similar to what I reported in #1148 - the error happens because Tableau Prep Builder uses an expired refresh_token. Would you please take a look at Tableau Server as well to make this will be addressed? |
About You:
Name: Song Gao
Company: Starburst Data
Your question:
We added external/custom OAuth config support based on the doc https://tableau.github.io/connector-plugin-sdk/docs/oauth. It works in Tableau Desktop and on Tableau Server (2023.1.2) when selecting embedded/default
OAuth Config Id
. However, if I select an external/custom OAuth config id, it errors out with the following message:In the
nativeapi_vizqlserver...
log, I can see this message:Seems like Tableau Server was able to get tokens from Galaxy but it eventually failed.
To eliminate other factors, I use the same OAuth configuration file, except that they use different
oauthConfigId
(embedded one isgalaxydev
, external one iscustom_galaxydev
).And I used the same
Client ID
andRedirect URL
when configuring them.I used Fiddler to track the requests/responses between the web client and Tableau Server, and I can tell there is no problem with calling
authorization url
andcallback/redirect url
. The error happened when the Tableau server talked to the Galaxy server viatoken url
- I saw two calls (same as I saw in Tableau Desktop), but I wasn't able to decrypt the messages or tell why Tableau Server failed.Would you please help us with this issue?
The text was updated successfully, but these errors were encountered: