Skip to content

Instantly share code, notes, and snippets.

@nmashton
Last active January 27, 2021 18:51
Show Gist options
  • Save nmashton/43d114464c0853a789179c1a7ad67ce2 to your computer and use it in GitHub Desktop.
Save nmashton/43d114464c0853a789179c1a7ad67ce2 to your computer and use it in GitHub Desktop.
New Login Flow
New Login Flow
Not Authenticated
found session cookie -> Choose Network
auth successful -> Choose Network
invalid auth code -> Authentication Error
sso not set up -> SSO Not Set Up
Start
found org cookie -> Org Selection
found no data -> Org Selection
Org Selection
found org with kevel idp -> Kevel IdP
found org by network name -> Logging in by network name
Logging in by network name
Kevel IdP
Authentication Error
SSO Not Set Up
Choose Network
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