diff --git a/website/integrations/services/netbox/index.md b/website/integrations/services/netbox/index.md index 040392be47..88f3406418 100644 --- a/website/integrations/services/netbox/index.md +++ b/website/integrations/services/netbox/index.md @@ -44,10 +44,10 @@ REMOTE_AUTH_ENABLED='true' REMOTE_AUTH_BACKEND='social_core.backends.open_id_connect.OpenIdConnectAuth' # python-social-auth config -SOCIAL_AUTH_OIDC_ENDPOINT='https://authentik.company/application/o//' +SOCIAL_AUTH_OIDC_OIDC_ENDPOINT='https://authentik.company/application/o//' SOCIAL_AUTH_OIDC_KEY='' SOCIAL_AUTH_OIDC_SECRET='' -SOCIAL_AUTH_OIDC_SCOPE = ["openid", "profile", "email", "roles"] +SOCIAL_AUTH_OIDC_SCOPE=openid profile email roles LOGOUT_REDIRECT_URL='https://authentik.company/application/o//end-session/' ``` @@ -61,10 +61,10 @@ from os import environ ############# # python-social-auth configuration -SOCIAL_AUTH_OIDC_ENDPOINT = environ.get('SOCIAL_AUTH_OIDC_ENDPOINT') +SOCIAL_AUTH_OIDC_OIDC_ENDPOINT = environ.get('SOCIAL_AUTH_OIDC_OIDC_ENDPOINT') SOCIAL_AUTH_OIDC_KEY = environ.get('SOCIAL_AUTH_OIDC_KEY') SOCIAL_AUTH_OIDC_SECRET = environ.get('SOCIAL_AUTH_OIDC_SECRET') -SOCIAL_AUTH_OIDC_SCOPE = ["openid", "profile", "email", "roles"] +SOCIAL_AUTH_OIDC_SCOPE = environ.get('SOCIAL_AUTH_OIDC_SCOPE').split(' ') LOGOUT_REDIRECT_URL = environ.get('LOGOUT_REDIRECT_URL')