-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(clerk-js): Make email-link return to application instead of AP (#…
…2727) * fix(clerk-js): Use signInUrl from context as email-link redirectUrl The signInUrl used in email-link will be retrieved from the props or context or repo-level or display config (with the same priority as listed here). In applications that the sign-in url is defined the email-link verification will redirect to the application without passing through the AP first. This results in fixing the handshake for email- link flows. Note: Applications using the signInUrl from the Dashboard settings, will not support the handshake flow and would require an additional redirect to FAPI/v1/client/handshake on email-link verification to work. * fix(clerk-js): Make path-based routing the default in redirects * fix(clerk-js): Fix type --------- Co-authored-by: Nikos Douvlis <nikosdouvlis@gmail.com>
- Loading branch information
1 parent
ee57f21
commit 5d6937c
Showing
6 changed files
with
24 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@clerk/clerk-js': minor | ||
--- | ||
|
||
Use signInUrl from props/ context / repo-level to construct a redirectUrl in email-link flow. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters