Skip to content

Conversation

@chrisfranko
Copy link
Contributor

Summary

The main problem is various errors were identical in the Refresh Token Grant file. While working on an express/mongodb adapter I kept erroring out at the client check. Well the client check error is the same error that exist in like 5 other places. Just changing the verbiage alone would help in diagnosing the problem.

Involved parts of the project

[https://github.com/node-oauth/node-oauth2-server/blob/master/lib/grant-types/refresh-token-grant-type.js](Refresh Grant Type)

Added tests?

si

OAuth2 standard

Its just the error verbiage the logic remains untouched.

Reproduction

No new features just changing some text.

old PR

#140

Copy link
Collaborator

@Uzlopak Uzlopak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks

@chrisfranko
Copy link
Contributor Author

:D

@HappyZombies HappyZombies merged commit de3f039 into node-oauth:development Apr 18, 2022
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.

3 participants