Skip to content

fix(clerk-js): Fix FAPI initiated redirect flow for OAuth2 IDP flow with email_link verification (#2677)#2702

Merged
panteliselef merged 1 commit into
release/v4from
backport-release/v4-2677
Feb 1, 2024
Merged

fix(clerk-js): Fix FAPI initiated redirect flow for OAuth2 IDP flow with email_link verification (#2677)#2702
panteliselef merged 1 commit into
release/v4from
backport-release/v4-2677

Conversation

@clerk-cookie

Copy link
Copy Markdown
Collaborator

Backporting #2677 to the release/v4 branch

(cherry picked from commit 7503376)

…ith email_link verification (#2677)

For the OAuth2 IDP flow, we should not redirect when the referrer is
the sign up url. This way, the second factor can be completed
after a first factor like email verification link. Previously,
users were being redirected back to FAPI /oauth/authorize
prematurely. This change ensures that users will not be
redirected as such and have the chance to complete their second
factor verification, like phone code.

(cherry picked from commit 7503376)
@clerk-cookie clerk-cookie requested a review from a team as a code owner February 1, 2024 09:26
@clerk-cookie clerk-cookie requested review from tmilewski and removed request for a team February 1, 2024 09:26
@changeset-bot

changeset-bot Bot commented Feb 1, 2024

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: fa68c33

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@clerk/clerk-js Patch
@clerk/chrome-extension Patch
@clerk/clerk-expo Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@panteliselef panteliselef requested review from SokratisVidros, mzhong9723 and panteliselef and removed request for tmilewski February 1, 2024 09:27
@panteliselef panteliselef added this pull request to the merge queue Feb 1, 2024
Merged via the queue into release/v4 with commit c68ac1f Feb 1, 2024
@panteliselef panteliselef deleted the backport-release/v4-2677 branch February 1, 2024 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants