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

    Captive portal using Gmail accounts to authenticate wireless user

    Scheduled Pinned Locked Moved Captive Portal
    4 Posts 3 Posters 4.1k 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.
    • A
      anther
      last edited by

      Hi guys, my teacher told me to configure captive portal using gmail account for authentication. I've searched, but the only solution I found is Cloudessa service. He said there is an other way not using cloudessa. What is it? Please help!

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        So… you want us to do your homework for you?

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • A
          anther
          last edited by

          @jimp:

          So… you want us to do your homework for you?

          So that's how you treat your forum members? People come here to find answer, not another question.
          I just need some keywords. I've already done the project, just wanna do it the other way.

          1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan
            last edited by

            You already have your keyword - and you already know the way it works  ;)
            gmail

            The authentication process is a two-phase procedure.
            FIRST:
            When hitting the the portal autnetification page, the client should enter 2 credentials.
            The client should enter a gmail adress and an 'unkown' password.
            Of course, the client doesn't know this password.
            To retrieve this password, the user should enter his gmail mail account address.

            [[b]Hey, this procedure is being used by every site on the Internet !!!! - You saw it before - you used it before - it's always the SAME procedure]

            The portal code should send a mail to the visitors gmail mail address with the secret, randomly generated password.

            The client should login to the gmail's WEB mail interface to grab the 'challenge' mail - find the secret random.

            SECOND:
            Back on the portal interface, the visitor has the password, he can login.

            Note:
            All IP's from Google that are used to access the GMAIL web mail account servers should be listed as 'Allowed IP adress' on the portal service page.
            Maybe POP/IMAP accss should be handled as well, a part of the planet nevers uses web mails, they use mail-client software like Thunderbird, Outlook, etc.
            Access to SSL (https) pages can be problematic when you aren't yet authenticated with the portal.

            This is a pure PHP coding exercise.
            I advise you to create a mail adress (your-portal@gmail.com) that can be used by your own portal code so it can safely send maisl to other gmail accounts.

            BTW: this is just an idea, not a solution. I didn't Google anything up - just used my memory.

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

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