Skip to content

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