MoneyHub.Discovery (MoneyHub v1.0.0)

Copy Markdown View Source

OpenID Connect discovery: fetches Moneyhub's published OIDC provider metadata (/oidc/well-known/openid-configuration) - endpoint URLs, supported scopes, signing algorithms, and so on.

This is a no-auth, no-token endpoint, unlike everything else in this library.

Summary

Functions

Fetches the OIDC discovery document for config.identity_url.

Functions

get(config)

@spec get(MoneyHub.Config.t()) :: {:ok, map()} | {:error, MoneyHub.Error.t()}

Fetches the OIDC discovery document for config.identity_url.