An exception for when an OpenID Connect ID Token is invalid.
The :reason field is omitted from Inspect output as it may contain
sensitive data.
Fields
:message- a description of the error:reason- the underlying failure reason, if any
Examples
iex> error = %Assent.Strategy.OIDC.InvalidIDTokenError{
...> message: "invalid ID Token",
...> reason: :invalid_signature
...> }
iex> Exception.message(error)
"invalid ID Token"
iex> inspect(error)
"#Assent.Strategy.OIDC.InvalidIDTokenError<message: \"invalid ID Token\", ...>"