Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuth2 OpenId Connect Documentation #201

Merged
merged 8 commits into from
Dec 12, 2022
Prev Previous commit
Next Next commit
for OPENIDCONNECT_ROLECONVERTER, changed format from ':' to '=' as se…
…parator
  • Loading branch information
david-blasby committed Jun 8, 2022
commit 1a34522ef1e1f6494cb44bfb0fea0b70b90134a0
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ Environment Variable and Meaning

This provides simple role conversion from the OpenID server to Geonetwork roles.

ie. `"GeonetworkAdmin:Administrator,GeonetworkEditor:Editor"`
ie. `"GeonetworkAdmin=Administrator,GeonetworkEditor=Editor"`

This will convert "GeonetworkAdmin" (from the OpenID Server) to the Geonetwork "Administrator" role.

Expand Down Expand Up @@ -691,7 +691,7 @@ Your environment variables will looks like this;
OPENIDCONNECT_CLIENTID='...'
OPENIDCONNECT_SERVERMETADATA_JSON_TEXT='...big json text...'
OPENIDCONNECT_IDTOKENROLELOCATION='groups'
OPENIDCONNECT_ROLECONVERTER='3a94275f-7d53-4205-8d78-11f39e9ffa5a:Administrator,d93c6444-feee-4b67-8c0f-15d6796370cb:Reviewer'
OPENIDCONNECT_ROLECONVERTER='3a94275f-7d53-4205-8d78-11f39e9ffa5a=Administrator,d93c6444-feee-4b67-8c0f-15d6796370cb=Reviewer'


NOTE: The roles are in the "roles" part of the ID Token.
davidblasby marked this conversation as resolved.
Show resolved Hide resolved
Expand Down