TSDN
CIAMWeb App Auth Flow


  1. Web App navigates a user to the login endpoint on Frontend Server which creates a session 
  2. Frontend Server redirects a user to authorisation form on Auth Server
  3. Auth Server created one-time code and redirects a user to Frontend Server with it
  4. Frontend Server retrieves Access Token and stores it under the session made on step 1
  5. Frontend Server returns a user to Web App
  6. Web App retrieves Access Token via ajax with session from Frontend Server
  7. Web App updates Access Token via ajax with session from Frontend Server
  8. Frontend Server updates Access Token from Auth Server
  9. Web App redirects a user to Frontend Server for Logout
  10. Frontend Server redirects a user to Auth Server for Logout