edgedb / edgedb-js

The official TypeScript/JS client library and query builder for EdgeDB
https://edgedb.com
Apache License 2.0
514 stars 65 forks source link

Keep verifier cookie in built-in signup #1095

Closed scotttrinh closed 2 months ago

scotttrinh commented 2 months ago

When require_verification is false (which is the case here), we should not delete the PKCE session since we still need it for verifying emails even though it's not required. We still send the email, and the verification flow requires that the same PKCE session is valid in the browser.

Closes #1094