oauthWithRedirect
Redirects the user to the OAuth provider URL based on the provided arguments. This function will always reject after 1 second if the redirection does not occur.
Import
Usage
Parameters
args
Extract<AuthParams, { type: "oauth"; mode: "redirect" }>
The arguments required to obtain the OAuth provider URL
Returns
Promise<never>
A promise that will never resolve, only reject if the redirection fails