StartParameters

fun StartParameters(    context: Activity,     oAuthRequestIdentifier: Int,     loginRedirectUrl: String? = null,     signupRedirectUrl: String? = null,     customScopes: List<String>? = null)

Parameters

context

the calling Activity for launching the browser

oAuthRequestIdentifier

is an ID for the return intent from the OAuth flow

loginRedirectUrl

The url an existing user is redirected to after authenticating with the identity provider. This should be a url that redirects back to your app. If this value is not passed, the default login redirect URL set in the Stytch Dashboard is used. If you have not set a default login redirect URL, an error is returned.

signupRedirectUrl

The url a new user is redirected to after authenticating with the identity provider. This should be a url that redirects back to your app. If this value is not passed, the default sign-up redirect URL set in the Stytch Dashboard is used. If you have not set a default sign-up redirect URL, an error is returned.

customScopes

Any additional scopes to be requested from the identity provider.