🐛(oauth2) add ProConnect scopes

Add missing scopes required by ProConnect evenif we don't fill them.
This commit is contained in:
Quentin BEY
2025-03-13 11:22:35 +01:00
committed by BEY Quentin
parent 5cc8108e7b
commit 34783d0557
3 changed files with 33 additions and 1 deletions

View File

@@ -667,6 +667,13 @@ class Base(Configuration):
SCOPES["given_name"] = "First name"
SCOPES["usual_name"] = "Last name"
SCOPES["siret"] = "SIRET number"
SCOPES["siren"] = "SIREN number"
SCOPES["uid"] = "UID"
# available but not filled
SCOPES["organizational_unit"] = "Organizational unit"
SCOPES["belonging_population"] = "Belonging population"
SCOPES["phone"] = "Phone number"
SCOPES["chorusdt"] = "Chorus DT"
return {
"OIDC_ENABLED": OIDC_ENABLED,