getOAuthUrl
//fluxbase-kotlin/io.github.nimbleflux.fluxbase.auth/FluxbaseAuth/getOAuthUrl
getOAuthUrl
Section titled “getOAuthUrl”[jvm]
suspend fun getOAuthUrl(provider: String, options: OAuthOptions = OAuthOptions()): FluxbaseResponse<OAuthUrlResponse>
Get the authorization URL for provider to open in a system browser. GETs /api/v1/auth/oauth/{provider}/authorize. Port of getOAuthUrl() (auth.ts:923).
The provider and OAuthOptions.redirectUri are remembered (storage) for the matching exchangeCodeForSession call.