Skip to main content

tryOAuthAuthentication

Initiates the OAuth authentication process and redirects the user to the provider's login page. Stores the redirect URL in localStorage.

Example

try-oauth-authentication.js
await tryOAuthAuthentication();