Skip to content
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

fix: verify state parameter and specify node v20 in .nvmrc for crypto #48

Merged
merged 2 commits into from
Apr 10, 2024

Conversation

joemays
Copy link
Contributor

@joemays joemays commented Apr 10, 2024

This verifies that the state parameter is not only present but matches the expected value when doing oAuth.

It also adds a .nvmrc file so that node v20 is automatically used for developers that are using nvm. Note that this was necessary for the crypto import to be properly resolved in unit tests.

Copy link
Contributor

@sahinvardar sahinvardar left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks for the contribution

Copy link
Contributor

@sahinvardar sahinvardar left a comment

Choose a reason for hiding this comment

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

Looks good to me, thank you for your contribution

@sahinvardar sahinvardar merged commit b8e5956 into main Apr 10, 2024
1 check passed
@sahinvardar sahinvardar deleted the jmays/verify_state branch April 10, 2024 15:19
Copy link

🎉 This PR is included in version 4.0.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants