Open Chicago-Dave opened 7 months ago
Hi @Chicago-Dave,
If the issue is indeed caused by SSO, then our hands are tied. See the Tableau REST API documentation regarding authentication:
https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_concepts_auth.htm
The REST API does not support single-sign (SSO). To sign in, you must specify the name and password of a user who has been created on Tableau Server or Tableau Cloud. REST API calls will have the permissions of the user they sign in as. We strongly recommend PAT signin because it is more secure.
I should note that I use Tableau Server at my work, and therefore cannot test for Tableau Cloud myself.
Earlier we had gotten it to work for a Tableau Cloud user. See https://github.com/vusaverse/vvtableau/issues/1.
Can you confirm you are using valid values for the base_url and content_url arguments?
Using vvtableau (first time)
authenticate_PAT with valid pat_name and pat_secret
base_url must be correct, getting final error message:
Error: lexical error: invalid char in json text. <!doctype html><html xmlns:ng=" (right here) ------^
which I suspect is the call for the SSO sign-in screen.
Any known workarounds? Can't see anything in the code to resolve it.