✨(auth) fix empty name from ProConnect
add proconnect scopes for names to be computed automatically upon user creation This commit fixes the way names are computed from ProConnect claims
This commit is contained in:
committed by
Marie
parent
961bceb64e
commit
4d3901b35d
@@ -47,7 +47,8 @@ backend:
|
||||
name: backend
|
||||
key: OIDC_RP_CLIENT_SECRET
|
||||
OIDC_RP_SIGN_ALGO: RS256
|
||||
OIDC_RP_SCOPES: "openid email siret"
|
||||
OIDC_RP_SCOPES: "openid email siret given_name usual_name"
|
||||
USER_OIDC_FIELDS_TO_NAME: "given_name,usual_name"
|
||||
OIDC_REDIRECT_ALLOWED_HOSTS: https://desk.127.0.0.1.nip.io
|
||||
OIDC_AUTH_REQUEST_EXTRA_PARAMS: "{'acr_values': 'eidas1'}"
|
||||
ORGANIZATION_PLUGINS: "plugins.organizations.NameFromSiretOrganizationPlugin"
|
||||
|
||||
Reference in New Issue
Block a user