[Portal Cautivo] Autenticar por redes sociales
-
Buenas Comunidad...
Estoy implementando portal cautivo para un hotel, el cual realice, y les gusto tanto que me pidieron algo mas, que puedan validar el portal mediante facebook o google.
En principio me habían pedido un portal cautivo en el cual aparezca una web con su logo, y luego de aceptar redireccione a los clientes a la pagina principal del hotel. Eso en principio lo resolvio facilmente.
La propuesta que me plantean ahora es basicamente poder tenes un mail o facebook del cliente que esta ingresando al portal.
alguien me puede dar una mano con esto?.Saludos
-
please speak English here. I don't speak Spanish, had to translate your message
Google and Facebook support authentication to external services (such as your captive portal) using oauth2
https://developers.google.com/identity/protocols/OAuth2
https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow/oauth2 is not yet supported by pfSense,
pfSense does however support RADIUS authentication. you could maybe setup a FreeRADIUS server that will authenticate users to google or Facebook using oauth2
-
@free4
Thanks for the answer, I really do not have radius experience, I'm going to read a bit about it, if you know any tutorial would be very useful.
Greetings. -
Hello Maxi.
It is possible to do social login with captive portal over pfsense.
You will need to make some changes in the pfsense code.
Take a look in our implementation at my school.
https://www.youtube.com/watch?v=Cw-BjpxvMiU&t=64s
-
@felipe-volpato said in [Portal Cautivo] Autenticar por redes sociales:
i
Felipe, esta muy bueno lo que realizaste.. me podrias indicar como hacerlo?
gracias.
-
@felipe-volpato sadly, your implementation allow unauthenticated users to browse facebook.com ..
-
@free4 unfortunately yes.. do you have other solution ?
-
@free4 do you have an alternative?
-
sadly, not for now
-
Hi, @ felipe-volpato. First of all thank you very much for sharing the video. I'm looking to do something like that, would you be so kind as to share some information on how you did it?
Thank you very much in advance for your time