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

Use Web-compatible crypto for PKCE #783

Merged
merged 7 commits into from
Nov 17, 2023
Merged

Use Web-compatible crypto for PKCE #783

merged 7 commits into from
Nov 17, 2023

Conversation

scotttrinh
Copy link
Collaborator

Closes #779

I considered doing something dynamic to use node:crypto if run in the Node environment but that had two drawbacks: complexity, and making it harder to test. Since this path is not a hot-path, it doesn't seem like a good candidate for the tradeoff of complexity and performance that having a dynamic dispatch would provide.

@scotttrinh scotttrinh requested a review from jaclarke November 15, 2023 13:58
@scotttrinh scotttrinh merged commit 9309420 into master Nov 17, 2023
7 checks passed
@scotttrinh scotttrinh deleted the web-crypto branch November 17, 2023 14:16
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.

auth-nextjs is not usable in the middleware
2 participants