nova_auth_oidc_introspect (nova_auth_oidc v0.1.1)
View SourceToken introspection (RFC 7662). Checks if an access token is active at the provider (e.g., not revoked or expired).
Usage
case nova_auth_oidc_introspect:introspect(my_oidc_config, authentik, AccessToken) of
{ok, #{active := true}} -> ok;
{ok, #{active := false}} -> revoked;
{error, Reason} -> handle_error(Reason)
end
Summary
Functions
Introspect an access token at the provider's introspection endpoint.