-
-
Notifications
You must be signed in to change notification settings - Fork 909
New issue
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
Add SSO variables to configuration file, so they can be added to the environment files #1139
Comments
In case some one would like to pass python dict SOCIAL_AUTH_BACKEND_ATTRS as environment variable to customize SSO display name and icon, here is the solution by adding to extra.py. I'm using Keycloak
More |
Can you please add GOOGLE SSO variables as well:
Thank you 🙏 |
Desired Behavior
We are using the docker version of netbox and SSO with a Okta backend.
We have to change configuration.py to get the authentication settings from the environment variables.
I think it would be much more convenient for all users if they can simply add the settings for SSO(at least for the integrations outlined in the netbox documentation) in the environment variables, instead of editing the configuration.py. Just like this is done for most other settings as well.
Contrast to Current Behavior
Currently only the basic REMOTE_AUTH settings can be set in the environment variables.
Required Changes
I suggest to change the file configurations.py and add the lines below to support at least the SSO integrations outlined in the documentation.
Discussion: Benefits and Drawbacks
No response
The text was updated successfully, but these errors were encountered: