Skip to content

connectProvider()

Use nhost.auth.connectProvider to connect a social authentication provider to an existing user account

nhost.auth.connectProvider({
provider: 'github
options: {
redirectTo: window.location.href
}
})

params required SignInWithProviderParams