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

Create PKCE session for verification with email #907

Merged
merged 2 commits into from Apr 8, 2024

Conversation

scotttrinh
Copy link
Collaborator

Blocked by edgedb/edgedb#7037

The current email verification flow always assumes that it ends in a PKCE code exchange. However, currently, if you send just the email, we do not start a PKCE flow, so it just ends in a redirect or 204 No Content response. The above linked PR to the auth server allows specifying a challenge in the body along with the email which will trigger a PKCE flow.

@scotttrinh scotttrinh marked this pull request as ready for review March 19, 2024 15:56
@scotttrinh
Copy link
Collaborator Author

Now that EdgeDB 4.7 is out, this is ready for release.

@scotttrinh scotttrinh merged commit 94d02ae into master Apr 8, 2024
7 of 8 checks passed
@scotttrinh scotttrinh deleted the 906-email-verification branch April 8, 2024 14:28
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: The onEmailVerify fails with no pkce verifier when resending the verification email.
1 participant