Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
samuel_morgan
New Contributor

Logout/deauthenticate via URL? External custom Captive Portal

I am making custom captive portal for my network. I managed to work everything I needed except logout. I want to create a button with logout, but I don't know which URL with which query parameters should I use?

I managed to save "magic" query parameter to cookies(or local browser storage) so far I tried:

 

https://my-capive-portal-url.com:1003/test.php?logout&magic=<users_magic_string>

http://my-capive-portal-url.com:1000/test.php?logout&magic=<users_magic_string>

https://my-capive-portal-url.com:1003/test.php?logout

http://my-capive-portal-url.com:1000/test.php?logout

 

and all options mentioned here:

https://community.fortinet.com/t5/Support-Forum/Logout-deauthenticate-via-URL-Captive-Portal/m-p/103...

like:

my-capive-portal-url.com/test.php?logout&<users_magic_string>">logout

my-capive-portal-url.com/test.php?logout

 

1 REPLY 1
ebilcari
Staff
Staff

Maybe this is not the answer you are expecting but I think that this option is not feasible. After the user is logged in the portal it will get redirect to a page in internet and continue browsing. The user technically will loose access to the portal and basically even if they have the will to do logout they can't do it.

- Emirjon
If you have found a solution, please like and accept it to make it easily accessible for others.
Labels
Top Kudoed Authors