Skip to content

[0.x] Fix OAuth Supported Grants #18

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hafezdivandari
Copy link

When creating a client via createAuthorizationCodeGrantClient method of Passport's ClientRepository class, the created client has 'authorization_code' and 'refresh_token' grant types by default. This PR fixes supported grant types when registering a new client.

When creating a client using the createAuthorizationCodeGrantClient method of Passport's ClientRepository class, the generated client is assigned the 'authorization_code' and 'refresh_token' grant types by default.

This PR ensures that the supported grant types are set correctly when registering a new client.

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