Skip to content

Instantly share code, notes, and snippets.

@sseg
Last active August 17, 2020 20:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sseg/5c773c026d862a94ee6b09d9fc6a0afc to your computer and use it in GitHub Desktop.
Save sseg/5c773c026d862a94ee6b09d9fc6a0afc to your computer and use it in GitHub Desktop.
Login Form*
Login Form*
Email--Empty*
Email--Value Error
Email--Unknown ID Error
Other Error
Input Email -> Email?
Sign In Social -> Sign In Social
Sign In SSO -> Sign In SSO
Need Help -> Need Help?
Sign Up -> Sign Up
Need Help?
More info -> Helpcenter
Forgot email -> Legacy Profile Login
Forgot password in single account upgrade flow -> Magic Link Upgrade
Forgot password in unified login -> Password Reset
Email?
Invalid -> Email--Value Error
Valid -> Unified profile exists?
Unified profile exists?
Yes -> Unified Password Form
No -> How many matching legacy profiles?
How many matching legacy profiles?
# how do we mitigate abuse of the check API?
Zero -> Email--Unknown ID Error
One -> Profile Upgrade Form
More than one -> Multiple Account Form
Profile Upgrade Form
Profile Password--Empty*
Profile Password--Value Error
Input Password -> Upgrade Password?
Need Help--single account only -> Need Help?
Upgrade Password?
Does not match existing account -> Profile Password--Value Error
Matches existing account -> Upgrade Profile?
Setting new password -> Upgrade Profile?
Upgrade Profile?
Unified Profile Created -> Link Account?
Unified Profile Failed -> Other Error
Link Account?
Single Account Linked -> Logged In
Multiple Account Linked -> Logged In
# needs attention
# what are the mechanics of account linking?
# Should be stateless in the receiving application
# can this be done in the same step as unified profile creation?
Account Link Failed -> Login Form
Multiple Account Form
Verify Email -> Verify Email?
Remind Me Later -> Legacy Profile Login
Verify Email?
Skip For Now -> Legacy Profile Login
Verified -> Profile Upgrade Form
# Can this be the existing login form?
# For any users coming through this flow we need
# to prompt to verify email (since this includes
# "forgot email" flow).
Legacy Profile Login
Unified Password Form
Unified Password--Empty*
Unified Password--Value Error
Input Password -> Unified Password?
Need Help -> Need Help?
Unified Password?
Incorrect -> Unified Password--Value Error
Correct -> Logged In
# create profile and then set password
# unimplemented
Magic Link Upgrade
# auth0 profiles
# unimplemented
Password Reset
Logged In
Other Resources
Helpcenter
Sign In Social
Sign In SSO
Sign Up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment