-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Dear dCache devs,
I couldn't get dCacheView on our 9.1 test instance to authenticate with group memberships. You may have seen my posts about this on the dCache user mailing list. In my client definition at the Escape IAM (https://iam-escape.cloud.cnaf.infn.it/iam/api/client-registration/aa4d4818-0e88-4f47-90b9-dd2ef5e84cf8) I added wlcg.groups to the scope, but it was always ignored; in the token that was returned to gPlazma, the scope was always this:
"scope": "openid profile email"
I just found out that this is hardcoded in the dCacheView source:
dcache-view/src/elements/dv-elements/user-authentication/forms/loginform-with-openid.html
Line 297 in 6afb479
| '&scope=openid%20profile%20email' + |
Any suggestions on how to configure user mappings based on wlcg.groups information? Or is this not supported in dCacheView, and should we look for another client to test OIDC? For now I guess we could add wlcg.groups to the source, but it feels a bit clunky.
Kind regards,
Onno