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

    Authenticating Users with Google Cloud Identity

    Scheduled Pinned Locked Moved General pfSense Questions
    103 Posts 3 Posters 15.8k 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.
    • GertjanG
      Gertjan @leonida368
      last edited by

      @leonida368 said in Authenticating Users with Google Cloud Identity:

      but since at my client the teachers alternate within the class in a few minutes

      Give the teachers the 'rights' to use this button :

      51af4a51-9df0-440d-872f-adc3f92b9b4d-image.png

      With one click : all users disconnected.

      Check also here : Diagnostics > Limiter Info
      The entries (pipes actually) still shown are the devices you've listed under :

      4507b1e6-36ab-42b8-bd00-17b329f89e48-image.png

      @leonida368 said in Authenticating Users with Google Cloud Identity:

      (we saw it together just go back in this discussion)

      I remember. I can't reproduce that. My "Idle timeout (Minutes)" seems to work fine.

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

      L 1 Reply Last reply Reply Quote 0
      • L
        leonida368 @Gertjan
        last edited by

        Hi @Gertjan, thank you for the idea, but thinking that a teacher can connect to Pfs go to Status / Captive Portal and carry out operations is truly as unfeasible as possible.
        Furthermore, the user must log out only himself, not everyone together, because everyone has different end times for the lesson.
        Since we have now enabled popups on the customer's devices, couldn't we try to make the logout popup work? Or find another way for the user to log out? Thank you

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

          @leonida368 said in Authenticating Users with Google Cloud Identity:

          thank you for the idea, but thinking that a teacher can connect to Pfs go to Status / Captive Portal and carry out operations is truly as unfeasible as possible.

          Can't trust teachers ? Woow. There are some strange places these days.
          But I wasn't saying you had to give the teacher the admin account. It's very possible to create another pfSense user and give this 'teacher' user only limited access, like the captive portal status page, where he can log them all out, or just some.

          @leonida368 said in Authenticating Users with Google Cloud Identity:

          Since we have now enabled popups on the customer's devices, couldn't we try to make the logout popup work?

          Work or not, most hand hold devices (phones etc) don't use the default browser as the browser to login to a captive portal. For example, the browser the iPhones use, is a subnet browser of safari, not the system user default browser, so no cookies, no session keeping. And this browser doesn't allow popups.
          Other devices, like ordinary windows based PCs and laptop behave fine.

          And even if the popup was dismissed (close), visiting again the portal login URL :

          https://portal.your-domaine.tld:8003/index.php?zone=CPZONE
          

          will not show the login page, as the user is already logged in, but the logout page, with a logout button.

          @leonida368 said in Authenticating Users with Google Cloud Identity:

          couldn't we try to make the logout popup work?

          It isn't broken.
          The fact that your Idle timout isn't working 'very well' is already strange. It's a core pf functionality, and isn't pfSense, but actually build into kernel FreeBSD.
          As soon as you you what's wrong, you've solved your issue.

          @leonida368 said in Authenticating Users with Google Cloud Identity:

          Or find another way for the user to log out?

          All possible ways are already mentioned.
          I haven't found any other ways in the manual (the source code).

          Recently, a new method was created.
          Look on the forum (captive portal) for the "DHCP 114" method.
          It's an upcoming RFC draft. Apple (and Microsoft and the original Samsung OS phones - clone OSes : no yet).
          I have no, under the SSID properties a link to a portal "Status page". The URL I gave the the status page is the logout URL. So no need to type it the URL mentioned above.
          To use this "DHCP 114" method, no need to edit any pfSense file.
          There is just one PHP file to upload.
          You have to use ISC DHCP, not KEA, as you have to add a DHCP option. Number 114.

          The value of the option, type is String, must be :

          "https://portal.your-domaine.tld:8003/rfc8910.php?zone=cpzone1"
          

          fbc2f3cb-2d2a-476e-8cef-b12e887c1837-image.png

          Where 'portal.your-domaine.tld' is the HTTPS server name of the portal.
          8003 is the TLS port used.
          'rfc8910.php' is the name of the file you've uploaded.
          'cpzone1' is the name of the SSID zone.

          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.