Next.js
useProviderLink()
Use the hook useProviderLink
to get an OAuth provider URL that can be used to sign in users.
Parameters
options optional ProviderOptions
Examples
Pass in the connect
option to connect the user’s account to the OAuth provider when different emails are used.