thephpleague / oauth2-client

Easy integration with OAuth 2.0 service providers.
http://oauth2-client.thephpleague.com
MIT License
3.64k stars 751 forks source link

Exclude redirect_uri param from refresh_token requests. #906

Closed adamroyle closed 2 years ago

adamroyle commented 2 years ago

I ran into this issue with a OAuth2 provider rejecting my refresh_token request as it included the redirect_uri parameter.

ramsey commented 2 years ago

Thank you for the PR!

I think this change is best suited as part of a custom provider for the service provider you're using. Best regards!