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

Limit scopes per user/group #351

Open
jricher opened this issue Jun 12, 2013 · 6 comments
Open

Limit scopes per user/group #351

jricher opened this issue Jun 12, 2013 · 6 comments

Comments

@jricher
Copy link
Member

jricher commented Jun 12, 2013

We might want to create a configurable ability to limit available scopes on a per-user or per-user-group basis. This would need to be checked at authorization time and at token issuance time.

@jricher
Copy link
Member Author

jricher commented Jul 12, 2013

That TODO is part of the story, though we certainly do want to allow for default scopes if the client doesn't ask for any.

@wikkim
Copy link
Member

wikkim commented Jul 12, 2013

Okay, I am removing that TODO comment from the code then.

@praseodym
Copy link
Contributor

@col-panic
Copy link
Contributor

Considering this ticket, are the following statements true? thanks

  • Limiting granted scopes due to (a) users role(s) or group affiliation(s) is currently not supported.
  • It is hence currently the duty of the resource provider to check whether a presented scope is valid w.r.t. the given resource.
  • Extending org.mitre.openid.connect.repository.UserInfoRepository with methods to retrieve a users allowed scopes for further evaluation at access token creation would be the way to go.

@jricher
Copy link
Member Author

jricher commented Mar 1, 2018

The first two are true and the third is one option.

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

No branches or pull requests

4 participants