Auth0 Home Blog Docs

Integracion of auth0 with nodeJS

nodejs
google
facebook
popup

#1

buen dia, como estan ?
necesito integrar auth0 directamente desde node JS, pero me gustaria agregar un boton de google y facebook, y cuando hago clic, que se abra la ventana de facebook y google.
Es posible eso ? no quiero que se habra directo el popup de auth0.
Saludos
Eduardo

[MOD EDIT: Translated to English]

I need to integrate auth0 directly from node JS, but I would like to add a google and facebook button, and when I click, it opens the window of facebook and google.
Is that possible ? I do not want the auth0 popup to be directly opened.


#2

When using the [Hosted Login Page] (https://auth0.com/docs/hosted-pages/login) with Auth0.js for social connections, such as Facebook and Google, you can specify the connection in the authentication request as:

webAuth.authorize({
  connection: 'facebook'
});

This will open the social connection login directly. You can also read more about it here: https://auth0.com/docs/libraries/auth0js/v8#webauth-authorize-