Closed sroussey closed 5 months ago
The auth-helpers
and ssr
packages use the PKCE auth flow, which requires an auth code to be exchanged for the users session before redirecting to the page you want the user to land on after the authentication process completes.
Check out this one for creating the code exchange route and setting the redirectTo to /auth/callback
, then this one for an example of using a query param called "next" to declare where you want the user to be redirected to after the entire authentication flow completes 👍
Bug report
Describe the bug
The redirectTo param here:
Does not result in a redirect.
To Reproduce
Expected behavior
Should end with code at url /signin/callback