Skip to main content

Module id_token_verify

Module id_token_verify 

Source
Expand description

External IdP id_token verification with multi-algorithm JWKS support.

Verifies JWT signatures from external OIDC providers (Keycloak, Auth0, etc.) using keys fetched from the provider’s JWKS endpoint. Supports RS256, ES256, and EdDSA (Ed25519) algorithms.

Structs§

VerifiedIdToken
Verification result for an external id_token.

Functions§

algorithm_for_key_pub
Public alias for the algorithm-from-JWK helper. Used by client_auth.
build_decoding_key
Build a jsonwebtoken::DecodingKey from a JWKS key object.
decode_unverified
Decode an external id_token without signature verification.
verify_id_token
Verify an external id_token against the provider’s JWKS.