Skip to content

Instantly share code, notes, and snippets.

@shorif2000
Created March 22, 2022 22: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 shorif2000/a97d3c0809858e8aaebd6aaf5132f636 to your computer and use it in GitHub Desktop.
Save shorif2000/a97d3c0809858e8aaebd6aaf5132f636 to your computer and use it in GitHub Desktop.
IR - auth
sequenceDiagram
actor User
User->>+webApi: POST login form
webApi->>+resultsApi: POST auth request
resultsApi->>+resultsApi: GET oauth code and save in db
resultsApi-->>-resultsApi: POST token request save cred
resultsApi->>-webApi: return response with jwt
webApi-->>webApi: process redirection
webApi->>-User: send to user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment