wasm-oidc-plugin icon indicating copy to clipboard operation
wasm-oidc-plugin copied to clipboard

feat(auth): logout route

Open antonengelhardt opened this issue 1 year ago • 0 comments

Adds another Config option which clears the cookies that have been set by the plugin.

  • If the OIDC provider supports the end_session_endpoint the user will be redirected to this location. This clears all plugin and auth server cookies. The session will be fully terminated!
  • If the auth server does not support this, then the user will be redirected to /. In this case, the cookies from the auth server might still be set which automatically generates a new code. This results in a token reset and not in an actual logout.

OpenID Spec: https://arc.net/l/quote/inktedyu

Closes #94

antonengelhardt avatar Aug 29 '24 08:08 antonengelhardt