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

Setting to disable tokens_can #20

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

DellanX
Copy link
Contributor

@DellanX DellanX commented Feb 6, 2024

For projects that need to register scopes in a ServiceProvider, allow for disabling this packages scope registration.

Resolving #19

For projects that need to register scopes in a ServiceProvider, allow for disabling this packages scope registration.
@DellanX
Copy link
Contributor Author

DellanX commented Feb 14, 2024

I just realized, this will also potentially resolve #11, assuming that any desired scopes from #11 are added to the scopes declared wherever the Passport::tokensCan($scopes) method is called. (My use case calls tokensCan in the AuthServiceProvider

@ronvanderheijden ronvanderheijden merged commit 68e97f1 into ronvanderheijden:main Apr 19, 2024
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.

2 participants