leykun10 / flow

Authentication system integrated with firebase dynamic links and firebase auth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flow

Authentication with firebase dynamic links and firebase auth. Used Domain Design Driven architecture inorder for this system to be integrated with other domain features and to scale up easilly.

Sign up feature

Most services Authentication feature use the approach which is creating a user on a database when a user provides a valid email and password without verifying the emailAddress. with the above approach its possible to restrict some features until the users email gets verified. The problem with this approach is some malicious folks might use email address they don't own to sign up and the authentication system will create a user on the database. when the owner with the email address wants to sign up, the system will respond with email already exist response which might surprise the owner since the owner did not sign up on the system. this will be a discomfort for a potential user and they have to do some extra work like reseting the passeord inorder to use the email to sign in.

Unlike the other authentication systems this Authentiacation feature only allows user to be created on the database if the email is verifed. when the users enters their email address for signup, they will soon receive an email address with a dynamic link to confirm their emailAddress and navigate to the app. the app will handle the incoming link with firebase dynamic links and navigate the user in to the password section to enter their password and finaly register as a user.

Login Feature

Third party Authentication

About

Authentication system integrated with firebase dynamic links and firebase auth


Languages

Language:Dart 99.1%Language:Swift 0.6%Language:Kotlin 0.2%Language:Objective-C 0.1%