linkOAuthProvider(Defined in: packages/modelence/src/auth/client/index.ts:184 Link an OAuth provider to the currently signed-in user’s account. Redirects the browser to the OAuth provider’s authorization page. The provider will redirect back and the account will be linked.options):Promise<void>
Example
Parameters
| Parameter | Type | Description |
|---|---|---|
options | { provider: "google" | "github"; } | - |
options.provider | "google" | "github" | The OAuth provider to link (‘google’ or ‘github’). |
Returns
Promise<void>