tanguilp / plugoid

OpenID Connect Plug for Elixir's Phoenix web framework
https://hexdocs.pm/plugoid/
Apache License 2.0
16 stars 1 forks source link

Do we need a timeout for OIDC challenge? #5

Closed tanguilp closed 3 years ago

tanguilp commented 4 years ago

In mod_auth_openidc there's a timeout for the state cookie (OIDC challenge): https://github.com/zmartzone/mod_auth_openidc/blob/master/auth_openidc.conf#L739

Plugoid doesn't handle it. It's tied to the state cookie and is deleted when this state cookie expires (and it defaults to a session cookie - with unlimited lifetime as long as the browser is not closed).

Should we set a limit for this?