Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    [Portal Cautivo] Autenticar por redes sociales

    Scheduled Pinned Locked Moved Captive Portal
    10 Posts 4 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Maxi_Rosario
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • F
        free4 Rebel Alliance
        last edited by

        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

        M 1 Reply Last reply Reply Quote 1
        • M
          Maxi_Rosario @free4
          last edited by

          @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.

          1 Reply Last reply Reply Quote 1
          • F
            felipe volpato
            last edited by felipe volpato

            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

            F N 2 Replies Last reply Reply Quote 0
            • M
              Maxi_Rosario
              last edited by

              @felipe-volpato said in [Portal Cautivo] Autenticar por redes sociales:

              i

              Felipe, esta muy bueno lo que realizaste.. me podrias indicar como hacerlo?

              gracias.

              1 Reply Last reply Reply Quote 0
              • F
                free4 Rebel Alliance @felipe volpato
                last edited by

                @felipe-volpato sadly, your implementation allow unauthenticated users to browse facebook.com ..

                F 2 Replies Last reply Reply Quote 0
                • F
                  felipe volpato @free4
                  last edited by

                  @free4 unfortunately yes.. do you have other solution ?

                  1 Reply Last reply Reply Quote 0
                  • F
                    felipe volpato @free4
                    last edited by

                    @free4 do you have an alternative?

                    1 Reply Last reply Reply Quote 0
                    • F
                      free4 Rebel Alliance
                      last edited by

                      sadly, not for now

                      1 Reply Last reply Reply Quote 0
                      • N
                        Nahuel Palavecino @felipe volpato
                        last edited by

                        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

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.