# Login flow
URL: /docs/infrastructure/sso/loginflow
Source: https://raw.githubusercontent.com/itsektionen/docs/refs/heads/main/content/docs/infrastructure/sso/loginflow.mdx



<Steps>
  <Step>
    User navigates to a protected deployment. Ex. [lmixer.kth.it](https://lmixer.kth.it).
  </Step>
  <Step>
    User is redirected to the SSO service at [sso.kth.it](https://sso.kth.it).
  </Step>
  <Step>
    if the user is not already authenticated, they are redirected to Google to sign in.
  </Step>
  <Step>
    After signing in, the user is redirected back to the SSO service.
  </Step>
  <Step>
    Authentik checks whether the user is allowed to access the application.
  </Step>
  <Step>
    If the application allows a group the user belongs to, access is granted.
  </Step>
  <Step>
    If all OK, redirect back to the original site that was requested.
  </Step>
</Steps>
