start
suspend fun start(redirectUrl: String, extraRequestParameters: Map<String, String> = emptyMap(), scope: String = client.configuration.defaultScope, state: String = UUID.randomUUID().toString()): OAuth2ClientResult<AuthorizationCodeFlow.Context>
Initiates the OIDC Authorization Code redirect flow.
See AuthorizationCodeFlow.resume for completing the flow.
Parameters
redirectUrl
the redirect URL.
extraRequestParameters
the extra key value pairs to send to the authorize endpoint. See Authorize Documentation for parameter options.
scope
the scopes to request during sign in. Defaults to the configured OAuth2Client.