-
Notifications
You must be signed in to change notification settings - Fork 0
feat: magic-link-first auth flow #77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
3822343
docs: add design spec for magic-link-first auth flow
tomusdrw fc3729c
docs: add implementation plan for magic-link-first auth flow
tomusdrw 234c476
test: add AuthFlow tests for magic-link-first redesign
tomusdrw e82f03e
feat: redesign AuthFlow to magic-link-first
tomusdrw bb278f8
test: add AuthCallback tests
tomusdrw 0e72f6d
feat: add AuthCallback component for magic link redirects
tomusdrw 5a4fa98
test: add PasswordUpdate tests
tomusdrw d99bdb9
feat: add PasswordUpdate component for settings
tomusdrw 4edd4bd
feat: add password management to Settings
tomusdrw 5b401f8
feat: export AuthCallback and PasswordUpdate from supabase
tomusdrw 9ce2fce
docs: update AuthFlow stories for magic-link-first design
tomusdrw af8eb20
feat: update demo app with magic link auth callback
tomusdrw b871567
fix: remove unused vi import from AuthFlow tests
tomusdrw cdf80ed
fix: AuthCallback race condition + update docs
tomusdrw 7ed5f03
feat: add Supabase config with custom email templates
tomusdrw 3ebf9fe
fix: align config.toml with production Supabase settings
tomusdrw c818c87
chore: add supabase .gitignore
tomusdrw 6c64e13
fix: address CodeRabbit review comments
tomusdrw 58b06a3
docs: update plan with portable paths and reviewed code fixes
tomusdrw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid hardcoding root-relative callback URLs in the demo.
These paths assume the app is served from
/. If the demo is hosted under a basename, the magic link will redirect to the wrong URL andreplaceState("/", ...)will navigate out of the app instead of back to the demo home.Suggested fix
Also applies to: 84-90, 142-142
🤖 Prompt for AI Agents