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
  }
})

Parameters


params required SignInWithProviderParams