Skip to content

change errorType to invalid_grant on invalid refresh_token#1042

Merged
Sephster merged 5 commits intothephpleague:9.0.0-WIPfrom
omdmhd:master
Aug 31, 2019
Merged

change errorType to invalid_grant on invalid refresh_token#1042
Sephster merged 5 commits intothephpleague:9.0.0-WIPfrom
omdmhd:master

Conversation

@omdmhd
Copy link
Contributor

@omdmhd omdmhd commented Jul 26, 2019

Fix Spec compliance according to this issue.
Now invalid_grant is returned instead of invalid_request.

@Sephster
Copy link
Member

Sephster commented Aug 31, 2019

Thanks @omdmhd - Changing this to the version 9 branch as this is BC but otherwise looks good. Cheers!

Sorry, I also noticed we should be returning a 400 response instead of 401. Will adjust that before merging

@Sephster Sephster changed the base branch from master to 9.0.0-WIP August 31, 2019 19:10
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