Skip to content

Comments

Load users in Symfony resource provider#29

Open
mcfedr wants to merge 2 commits intoauthbucket:masterfrom
mcfedr:load-user
Open

Load users in Symfony resource provider#29
mcfedr wants to merge 2 commits intoauthbucket:masterfrom
mcfedr:load-user

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