createFromDiscoveryUrl

fun createFromDiscoveryUrl(configuration: OidcConfiguration, discoveryUrl: HttpUrl): OidcClient

Create an OidcClient, using the discovery url to create the OidcEndpoints.

Parameters

configuration

the OidcConfiguration detailing the settings to be used when communicating with the Authorization server, as well as with the rest of the SDK.

discoveryUrl

the .well-known/openid-configuration endpoint associated with the Authorization Server. This is used to fetch the OidcEndpoints.