-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Firebase Documentation: https://firebase.google.com/docs/auth/ios/email-link-auth
We need to create a manager of some sort to handle Meetups Firebase Authentication using email link.
How this works:
- User enters their berkeley email.
- On the client verify that it ends with
@berkeley.edu. - If valid, call Firebase API to send verification link to requested berkeley email
- Configure Firebase Hosting according to Docs
- Once user clicks on verification link, Firebase will send a deep link. We should parse it call another Firebase API:
if Auth.auth().isSignIn(withEmailLink: link) {
Auth.auth().signIn(withEmail: email, link: self.link) { user, error in
// ...
}
}- If valid, redirect to main Meetups page
- Implement sign out and other relevant authentication logic
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels