Ueberauth. Strategy. Authify. JWTValidator
(Ueberauth Authify v0.1.0)
View Source
Validates OpenID Connect ID tokens issued by Authify.
Verifies the RS256 signature against the signing keys published at the
organization's JWKS endpoint (refetching on a kid miss), and the standard
ID token claims: iss, sub, aud, exp, iat, auth_time (when
max_age applies) and nonce.
Options:
:client_id- the expectedaudvalue:issuer- the expectedissvalue:jwks_uri- the organization's JWKS endpoint URL:nonce- the per-login nonce bound to the authorization request:leeway- seconds of slack for time-based claims (defaults to60):max_age- when set, requires a freshauth_timeclaim
Summary
Functions
Decodes an ID token, verifying its signature (refetching the JWKS on a kid
miss) but skipping all claim checks.
Decodes an ID token and verifies its signature and claims.
Functions
Decodes an ID token, verifying its signature (refetching the JWKS on a kid
miss) but skipping all claim checks.
Decodes an ID token and verifies its signature and claims.
Returns {:ok, claims} on success or {:error, message} describing the
first failed check.