Skip to content

ATM-183 remove PKCE flow from Supabase auth client#172

Merged
jakewc12 merged 1 commit intodevfrom
atm-183-remove-pkce
Apr 13, 2026
Merged

ATM-183 remove PKCE flow from Supabase auth client#172
jakewc12 merged 1 commit intodevfrom
atm-183-remove-pkce

Conversation

@b-at-neu
Copy link
Copy Markdown
Collaborator

Summary

  • Removes flowType: 'pkce' from the Supabase browser client config
  • Switches to implicit flow, which returns tokens in the URL hash and is picked up by detectSessionInUrl: true
  • Fixes "auth session missing" error after clicking a password reset link — PKCE requires a server-side /auth/callback code exchange that was never implemented

Test plan

  • Request a password reset email
  • Click the link in the email → lands on /login/confirm
  • Click "Reset Password" → redirected to the reset form
  • Enter a new password → succeeds without "auth session missing" error
  • Sign up as a new user → confirmation email link still works

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
attendance-manager Ready Ready Preview, Comment Apr 13, 2026 1:37am

@jakewc12 jakewc12 merged commit 60fb713 into dev Apr 13, 2026
4 checks passed
@jakewc12 jakewc12 deleted the atm-183-remove-pkce branch April 13, 2026 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants