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

[8.x] Mention package for custom claims #7531

Closed
wants to merge 1 commit into from
Closed

Conversation

driesvints
Copy link
Member

A long outstanding issue on the Passport repo is the ability to add custom claims to issued tokens. However, atm league/oauth2-server currently does not provide an easy way to do this.

Until an easy way has been provided so we can add this natively to Passport, I recommend mentioning the laravel-passport-claims package. This will allow people to add their custom claims while we don't need to perform any changes right now in Passport.

The reason why I don't want to go down the path of adding these changes to Passport is because I don't want to diverge too far from the way league/oauth2-server works. It's best to wait until they provide the functionality for us to implement this easily.

@taylorotwell
Copy link
Member

I don't usually recommend or endorse third party packages in the docs unless they are very well known and maintained for a while.

@taylorotwell taylorotwell deleted the driesvints-patch-1 branch December 23, 2021 16:49
@fredsal
Copy link

fredsal commented Apr 20, 2022

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.

3 participants