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

When authenticating with OIDC, allow per-OP configuration of desired scopes. #275

Open
paulmillar opened this issue May 9, 2022 · 0 comments

Comments

@paulmillar
Copy link
Member

Different OPs support different scopes.

Currently, dCacheView uses a hard-coded list of scopes to request when initiating implicit flow: openid profile email.

Some OPs use the eduperson_entitlement claim to describe group-membership. The presence of the eduperson_entitlement claim is controlled by the eduperson_entitlement scope. Therefore, in order for dCache to learn group-membership, dCacheView should (also) request the eduperson_entitlement scope.

However, not all OPs support the eduperson_entitlement scope and requesting a non-existing scope can cause the login to fail.
Therefore, it is important to allow per-OP configuration of the desired scopes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant