getOAuthUrl

abstract fun getOAuthUrl(provider: OAuthProvider, redirectUrl: String? = defaultRedirectUrl(), url: String = "authorize", additionalConfig: ExternalAuthConfigDefaults.() -> Unit = {}): String(source)

Returns the url to use for oAuth

Parameters

provider

The provider to use

redirectUrl

The redirect url to use

url

The url suffix.

For normal OAuth it would be "authorize".

For linking identities it would be "user/identities/authorize"