Google SSO #12978
Google SSO
#12978
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm running my netbox instance (v3.5.1) with ansible and wanted to configure the google authentication. I created the credentials in the Google Cloud console and cofigured them into the configuration.py in netbox.
Google Cloud Credentials:
authorized JavaScript origins: http://your-netbox-instance.com:port
redirect URI: http://your-netbox-instance.com:port/auth/complete/google-oauth2/
netbox.env:
...
REMOTE_AUTH_BACKEND = 'social_core.backends.google.GoogleOAuth2'
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = 'client_id'
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = 'client_secret'
SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_DOMAINS = ['mycompany.com']
I'm getting the option to log in with google (the box so to say) but then I'm getting this error:
Access blocked: Authorization Error
The OAuth client was not found.
If you are a developer of this app, see [error details].
Error 401: invalid_client
Beta Was this translation helpful? Give feedback.
All reactions