Skip to content

Instantly share code, notes, and snippets.

@ephes
Created July 11, 2024 12:10
Show Gist options
  • Save ephes/18216dd642e266b631860122fdede7d3 to your computer and use it in GitHub Desktop.
Save ephes/18216dd642e266b631860122fdede7d3 to your computer and use it in GitHub Desktop.
sequenceDiagram
participant IDP as Identity Provider
actor User as User (Principal)
participant Django as Django App (Service Provider)
User ->>+ Django: Access login page
Django -->>- User: Display login form with SSO button
User ->>+ Django: Click SSO login button
Django ->>+ IDP: Redirect to IdP for login
IDP -->>- User: Display login form
User ->>+ IDP: Submit credentials
IDP -->>- Django: Redirect back with auth details
Django -->>- User: User is logged in
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment