example_oidc_cli

Function client_metadata

Source
pub(crate) fn client_metadata() -> VerifiedClientMetadata
Expand description

Generate the OIDC client metadata.

For simplicity, we use most of the default values here, but usually this should be adapted to the provider metadata to make interactions as secure as possible, for example by using the most secure signing algorithms supported by the provider.