Skip to main content
quackers82
New Member
February 8, 2016
Question

Logout/deauthenticate via URL? Captive Portal

  • February 8, 2016
  • 2 replies
  • 38737 views

Is there a URL you can load that will deauthenticate the captive portal session?

 

The situation is in a school, we have a few shared sets of iPads. For safeguarding we have to know who has accessed what so we set the iPads up with captive portal authenticating against our Windows AD. That works fine. The issue is they remain logged in until the set timeout interval. So if another pupil uses a shared iPad before it times out all activity is tied to the previous persons username. 

 

With the iPads we can push home screen icons that point to a website, so is there a URL i can load that will tell the fortigate to deauthenticate the device it receives the request from? That way i can create a logout icon on the iPads. 

    2 replies

    xkalib3r
    New Member
    April 6, 2016

    Hi

     

    I have a similar requirement at a customer. Did you perhaps find a solution for this?

     

     

    Regards

    Jeff_FTNT
    Staff
    Staff
    April 6, 2016

    You may try it with CLI:

    config system global     set auth-keepalive enable

    end

    With "auth-keepalive " enable, when user login it will keep a open browser to keep the authentication session active.

    It have " Logout"  link on this page, if you click, it will clear authentication session.

    This URL is unique and different for each authentication.

    Like: http://192.168.1.60:1000/logout?0a03090e000f0c0f">logout

     

    "0a03090e000f0c0f" is changed for each authentication session

     

    authentication with HTTP

    http://192.168.1.60:1000/

    authentication with HTTPS

    https://192.168.1.60:1003/

     

    Thanks.

    Rosroch
    New Member
    April 20, 2017

    This was useful for me. While, I was testing, I noticed two thing:

     

    1. Authentication refresh - 500 secs timers. It counts down and nothing happens after 500 secs. Any idea what this is used for.

    2. What if I close browser session of the authentication keep alive page. I did close it and I can't seem to restore the session. SO i dont know how I can logout now. Any thoughts ??

    LeoT
    New Member
    March 24, 2021

    Did you try http://192.168.1.60:1000/logout?

    Change the IP and port to yours...