Skip to content

Dealing with expirations and revocations #189

Answered by sevensolutions
spietras asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @spietras,
all excellent questions 👍

The basic login flow is documented here:
https://traefik-oidc-auth.sevensolutions.cc/docs/getting-started/how-it-works

So in your scenario the following will happen:

  • The initial page load request will stop at the middleware because it doesn't contain the middleware's session cookie.
    So it redirects you to the IDP and once you're logged in, it forwards the request upstream.
  • Every subsequent request will also include this session cookie, no matter if it's an HTML request or XHR.
  • The middleware then validates the cookie and if it's valid, forwards the request

So let me answer your questions one by one:

  1. Yes exactly. The cookie is created when your b…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@spietras
Comment options

@sevensolutions
Comment options

@spietras
Comment options

@sevensolutions
Comment options

@spietras
Comment options

Answer selected by spietras
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants