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

Load users in Symfony resource provider #29

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mcfedr
Copy link

@mcfedr mcfedr commented Aug 8, 2017

Allows the token to contain not just the username but the actual user
object, using a user provider
Also the token will have roles from the user

@mcfedr
Copy link
Author

mcfedr commented Aug 8, 2017

Also fixes authbucket/oauth2-symfony-bundle#8

@mcfedr mcfedr force-pushed the load-user branch 3 times, most recently from c6ee201 to fb5e140 Compare August 9, 2017 07:27
Allows the token to contain not just the username but the actual user
object, using a user provider
Also the token will have roles from the user
This makes it easy to require certain scopes for specific actions
rather than having to do it at the firewall level
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

Successfully merging this pull request may close these issues.

1 participant