- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Fortigate Captive Portal Javascript Message
Hello,
I have setup a external captive portal in Fortigate running FortiOS v5.6.8 build1672.
I have a form in my external captive portal that i submit to the fortigate ip with the fields required (username, password and magic). All works as expected except a message that appears during the login process.
The message is: "If Javascript is not enabled, please click here to continue".
After 1 or 2 seconds after the message appears, the login is successfull, but what is causing this message to appear?
Is some configuration that is needed to do or is related to something in my external captive portal form?
I'm attaching the image of what's happening.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the same problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found how to solve the problem!
You must go to System - Replacement Messages and select the "Extended View", then, under "Authentication", click in "Authentication Success Page" and replace the HTML as your needs.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is it that makes the default code to behave like that?
<html> <head> <title> Firewall Authentication </title> </head> <body> If JavaScript is not enabled, please <a href="%%AUTH_REDIR_URL%%"> click here </a> to continue. <script language="JavaScript"> window.location="%%AUTH_REDIR_URL%%"; </script> </body> </html>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Christian. It looks to be your javascript warning is just a text message that is actually displayed to the user - meaning it will be displayed regardless of success/fail. In cristiano's example above, the Authentication Success Page doesn't actually display anything but directly opens the page directed by %%AUTH_REDIR_URL%%.
NSE4/FMG-VM64/FortiAnalyzer-VM/6.0 (FWF30E/FW92D/FGT200D/FGT101E/FGT81E)/ FAP220B/221C
