Skip to content

Instantly share code, notes, and snippets.

@Fordi
Last active March 2, 2026 17:04
Show Gist options
  • Select an option

  • Save Fordi/d5c97df2d40803a939f466cf5e480c67 to your computer and use it in GitHub Desktop.

Select an option

Save Fordi/d5c97df2d40803a939f466cf5e480c67 to your computer and use it in GitHub Desktop.
flowchart TD
  SignInIdentity@{ img: "./SignInIdentity-or8.png" }
  SignInIdentityPop@{ img: "./SignInIdentityPop-or8.png" }
  SignInBentley@{ img: "./SignInBentley-or8.png" }
  PasswordSSO@{ img: "./PasswordSSO-or8.png" }
  PasswordOnly@{ img: "./PasswordOnly-or8.png" }
  SSONoPassword@{ img: "./SSONoPassword-or8.png" }
  EnterMFA@{ img: "./EnterMFA-or8.png" }
  SignedIn@{ img: "./SignedIn-or8.png" }
  SignUp@{ img: "./SignUp-or8.png" }

  classDef edge stroke-width: 20px

  SignInIdentity e1@--> SignInIdentityPop

  SignInIdentityPop e21@-- "No user found" --> SignUp
  SignInIdentityPop e22@--"Detected federated account or exactly 1 SSO"--> SignInBentley
  SignInIdentityPop e23@--"User has password, SSO"--> PasswordSSO
  SignInIdentityPop e24@--"User has password, no SSO"--> PasswordOnly
  SignInIdentityPop e25@--"User has SSO, no password"--> SSONoPassword

  SSONoPassword e3@--> SignInBentley

  SignInBentley e41@--"User has MFA"-->EnterMFA
  SignInBentley e42@-->SignedIn
  SignInBentley e43@--"No Cesium user"-->SignUp

  PasswordSSO e51@--"User clicks SSO"--> SignInBentley
  PasswordSSO e52@--"User enters password,<br />has MFA"--> EnterMFA
  PasswordSSO e53@--"User enters password"--> SignedIn

  PasswordOnly e61@--"User has MFA"--> EnterMFA
  PasswordOnly e62@--> SignedIn

  EnterMFA e71@--> SignedIn
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment