We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Just wonder if there is any roadmap to support Google Sign-On / LDAP, or is there an alternative way to achieve that? Thanks.
The text was updated successfully, but these errors were encountered:
Hi, Yes, may be we can implement sign-in / authenticate feature. There is some information about it (https://github.com/metabase/metabase/blob/master/docs/api-documentation.md#post-apisessiongoogle_auth) but i have to test / reverse-check this endpoint for reasonable client implementation. Metabase's api doc is very superficial...
Sorry, something went wrong.
import requests
cookies = {
}
headers = { 'Connection': 'keep-alive', 'Accept': 'application/json', 'Sec-Fetch-Dest': 'empty', 'Content-Type': 'application/json', 'Accept-Language': 'en-US,en;q=0.9', }
data = '{"token":"YOU GOOGLE ID TOKEN HERE"}'
response = requests.post('https://YOUR BASE URL HERE/api/session/google_auth', headers=headers, cookies=cookies, data=data) from metabasepy import Client
cli = Client(username="fake", password="not_using", base_url="https://YOUR BASE URL HERE")
cli.token = response.json()['id']
gotya: metabase/metabase#6594
helpful: https://github.com/googleapis/google-auth-library-python/blob/master/google/oauth2/id_token.py
No branches or pull requests
Just wonder if there is any roadmap to support Google Sign-On / LDAP, or is there an alternative way to achieve that? Thanks.
The text was updated successfully, but these errors were encountered: