Crate wasm_oidc_plugin

source ·

Modules§

  • config 🔒
    This module contains the structs of the PluginConfiguration and OpenIdConfig
  • cookie 🔒
    This module contains logic to parse and save the current authorization state in a cookie
  • discovery 🔒
    This module contains the OIDC discovery and JWKs loading logic
  • error 🔒
    This module contains the error types for the plugin
  • responses 🔒
    This module contains the responses for the OIDC discovery and jwks endpoints

Structs§

  • The ConfiguredOidc is the main filter struct and responsible for the OIDC authentication flow. Requests arriving are checked for a valid cookie. If the cookie is valid, the request is forwarded. If the cookie is not valid, the request is redirected to the authorization endpoint.
  • The PauseRequests Context is the filter struct which is used when the filter is not configured. All requests are paused and queued by the RootContext. Once the filter is configured, the request is resumed by the RootContext.