Skip to content

Instantly share code, notes, and snippets.

@vikramrojo
Last active October 18, 2019 14:09
Show Gist options
  • Save vikramrojo/1e6aac9a1e6dae35405cdd4f9a85cd6f to your computer and use it in GitHub Desktop.
Save vikramrojo/1e6aac9a1e6dae35405cdd4f9a85cd6f to your computer and use it in GitHub Desktop.
Email Verify Restricted&
Email Verify Restricted&
Signup or Join
submit -> Verify Email
Login
verified -> App
unverified -> Restricted App
legacy unverified -> App
Invited
# Similar to magic link
submit -> App
SSO
login -> App
App
verify email reminder -> Email
logout -> Email Verify Restricted
Full Features
Restricted App
team member -> Verify Email
# expansion to other insecure areas
restricted -> Verify Email
features -> Features
# send or preclear verified emails
verify email reminder -> Email
logout -> Email Verify Restricted
Features
Verify Email
Email
magic link logged in -> App
# Success banner triggered but logged out
magic link logged out -> Login
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment