You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change Email in Nexjts app directory SSR PKCE flow returns error
AuthApiError: Error confirm email
at handleError (webpack-internal:///(rsc)/./node_modules/@supabase/auth-js/dist/module/lib/fetch.js:74:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _handleRequest (webpack-internal:///(rsc)/./node_modules/@supabase/auth-js/dist/module/lib/fetch.js:117:9)
at async _request (webpack-internal:///(rsc)/./node_modules/@supabase/auth-js/dist/module/lib/fetch.js:99:18)
at async SupabaseAuthClient.verifyOtp (webpack-internal:///(rsc)/./node_modules/@supabase/auth-js/dist/module/GoTrueClient.js:568:37)
at async GET (webpack-internal:///(rsc)/./app/(auth)/auth/confirm/route.ts:21:46)
To Reproduce
turn Secure email change option off
Setup email auth template as following
<h2>Confirm Change of Email</h2><p>Follow this link to confirm the update of your email from {{ .Email }} to {{ .NewEmail }}:</p><p><ahref="{{ .SiteURL }}/auth/confirm?token_hash={{ .TokenHash }}&type=email_change&redirect_to=account">Change Email</a></p>
Bug report
Describe the bug
Change Email in Nexjts app directory SSR PKCE flow returns error
To Reproduce
turn Secure email change option off
Setup email auth template as following
send auth code by
You'll get the error
AuthApiError: Error confirm email
at /auth/confirm route
Expected behavior
Should not cause error
Screenshots
System information
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: