-
Notifications
You must be signed in to change notification settings - Fork 44
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
MagicV2 + Farcaster login + SMS login #9913
base: master
Are you sure you want to change the base?
Changes from all commits
e95ae60
ff072aa
9bbd868
96e654b
3709179
400ab68
afe7e98
808a75b
84ce500
2071f2c
bceca47
2990d53
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changes to this file were necessary to fix: The issue was that login.ts now relies on the root entrypoint, causing some dependency issue. By passing in the app to these helpers instead of calling it directly, fixes this issue |
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.
do we need to strictly follow this? can we reuse the
else
block logic below? That would redirect to/finish_social_login
and thenhandleSocialLoginCallback
is already called there along with some app init settings as wellThere 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.
It's a little bit confusing but farcaster is not technically a social login. This is social logins require to use the webhook callback which farcaster does not use since it is decentralized. There is no entity (Like google or whatever) to submit the callback webhook for us.
This basically takes the same path as email login, the only difference is that it needs to call the magic farcaster login method