start

fun start(sessionToken: String, redirectUrl: String, extraRequestParameters: Map<String, String> = emptyMap(), scope: String = "openid profile email offline_access"): CompletableFuture<TokenInfo>

Initiates the Session Token flow asynchronously.

Return

a CompletableFuture that completes with TokenInfo on success, or completes exceptionally on failure.

Parameters

sessionToken

the session token obtained from the Okta legacy Authn API.

redirectUrl

the redirect URL registered with the authorization server.

extraRequestParameters

additional key-value pairs appended to the authorization URL.

scope

the space-delimited scopes to request.