From 6ffef878f0012a00e925a2205f2ac444583f64da Mon Sep 17 00:00:00 2001 From: Allan Eising Date: Tue, 21 May 2024 12:42:08 +0200 Subject: [PATCH] website/integrations: netbox: add missing scope configuration (#9491) --- website/integrations/services/netbox/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/integrations/services/netbox/index.md b/website/integrations/services/netbox/index.md index 828fcba038..0e01d78f9a 100644 --- a/website/integrations/services/netbox/index.md +++ b/website/integrations/services/netbox/index.md @@ -43,6 +43,7 @@ REMOTE_AUTH_BACKEND='social_core.backends.open_id_connect.OpenIdConnectAuth' SOCIAL_AUTH_OIDC_ENDPOINT='https://authentik.company/application/o//' SOCIAL_AUTH_OIDC_KEY='' SOCIAL_AUTH_OIDC_SECRET='' +SOCIAL_AUTH_OIDC_SCOPE = ["openid", "profile", "email", "roles"] LOGOUT_REDIRECT_URL='https://authentik.company/application/o//end-session/' ``` @@ -59,6 +60,7 @@ from os import environ SOCIAL_AUTH_OIDC_ENDPOINT = environ.get('SOCIAL_AUTH_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"] LOGOUT_REDIRECT_URL = environ.get('LOGOUT_REDIRECT_URL')