-
In the docs here and there, are references such as
But nowhere can I find specific examples of what this "additional configuration" should be, for google oauth. but nowhere that I can find, is the netbox-specific adjustments required. Could someone post an example, please? I'm using netbox 3.1.9 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Not nice that I had to sort of guess where to put this. right after Side note, that isnt directly part of my original question, but still quite important: Otherwise it kvetches about "server does not meet google oauth2 security standards". which makes no sense to me, but... |
Beta Was this translation helpful? Give feedback.
-
I was wondering the same thing. In addition to the settings indicated above (I put them in
|
Beta Was this translation helpful? Give feedback.
Not nice that I had to sort of guess where to put this.
Seems like it works, if I just stuff
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = 'xxxx'
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = 'xxxx'
right after
REMOTE_AUTH_BACKEND = 'social_core.backends.google.GoogleOAuth2'
in configuration.py
Side note, that isnt directly part of my original question, but still quite important:
It wont let you just make up your own internal DNS FQDNs. Google oauth2 insists on a recognizable top level domain like ".com" ...
even if it cant resolve privateserver.yourdomain.com
Otherwise it kvetches about "server does not meet google oauth2 security standards". which makes no sense to me, but...