What I’m trying to do:
I’m building a Tableau extension for my company that needs authentication, and I’m using the Google Auth option.
What I’ve tried and what’s not working:
I’ve tried adding Google Auth and running it either in Tableau Desktop, or Tableau Online.
The Tableau Desktop version pops up the browser window for authentication, but never authenticates in the extension itself (just stays on the “Log in with…” view)
The same version of the app authenticates in the Online version fine.
Is that expected that the locally run Tableau Desktop cannot use Google Auth, or am I doing something wrong? Ultimately the extension will be used in Tableau Online, but would need to work locally for development of those Tableau dashboards.
Code Sample:
It’s literally just adding the example code sample for Google Auth
# ...snip
class Homepage(HomepageTemplate):
def __init__(self, **properties):
# Show login
email_addr = anvil.google.auth.login()
print(f"User logged in as {email_addr}")
self.dashboard = get_dashboard()
# ...snip...