start

abstract suspend fun start(redirectUrl: String, extraRequestParameters: Map<String, String> = emptyMap(), scope: String = "openid profile email offline_access"): ERROR CLASS: Symbol not found for Result<com/okta/oauth2/kmp/AuthorizationCodeFlowContext>

Initiates the Authorization Code redirect flow.

Return

a Result containing an AuthorizationCodeFlowContext with the authorization URL and state.

Parameters

redirectUrl

the registered redirect URI for this client.

extraRequestParameters

additional query parameters for the authorization endpoint.

scope

the scopes to request.