oauthWithPopup
Initiates an OAuth authentication flow in a popup window and returns the authenticated user.
Import
Usage
Parameters
args
Extract<AuthParams, { type: "oauth"; mode: "popup" }>
The authentication parameters specifying OAuth type and popup mode
Returns
Promise<User>
A promise that resolves to a User
object containing the authenticated user information