Closed alexandrud closed 4 months ago
SOCIAL_*
can not be configured via the environment variables, since they are not read in our configuration.py
.
You will need to provide your own extra.py
configuration file (can be a different name as well) and either (a) mount it into the container at /etc/netbox/config/you_file.py
or (b) extend the netbox-docker image.
Current Behavior
Netbox setup is working without SSO. I've added the following to the netbox.env file:
The error is
No module named "'social_core"
. Notice the strong quote included in the module name. For some reason the configuration.py script includes that quote as part of the library string.If I enter just the string without quotes I can see the OIDC login button.
However, when I press it I get:
I'm at a loss. Can anyone help?
Expected Behavior
Get redirected to the OIDC login page.
Docker Compose Version
podman-compose version: 1.0.6
Docker Version
The git Revision
0c99ff8b5663db3e0db5a45660cebda9f917508b
The git Status
Startup Command
podman-compose up -d
NetBox Logs
Content of docker-compose.override.yml