wasm-oidc-plugin
wasm-oidc-plugin copied to clipboard
feat(auth): logout route
Adds another Config option which clears the cookies that have been set by the plugin.
- If the OIDC provider supports the
end_session_endpointthe 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