Javascript errors seen when using GlobalProtect embedded browser for SAML authentication.
23420
Created On 06/04/21 20:46 PM - Last Modified 10/18/23 23:28 PM
Symptom
- When using Internet Explorer (IE) for SAML Authentication, Javascript error may be seen.
- This article helps configure the settings to prevent the Javascript errors.
Environment
- Palo Alto Firewall
- PAN-OS 9.1 and above
- Globalprotect (GP)
- SAML Authentication
Cause
- GP embedded browser relies on Microsoft dlls to parse the web content and embedded browser works based on IE.
- Palo Alto Suggests using default browser instead of using Internet Explorer(IE).
- When the user is allowed to use only IE, below tips can help resolve Javascript error.
Resolution
- Enable “Allow scripting of Internet Explorer web browser control”:
- Internet Explorer > Internet options> Security Page -> Internet Zone -> “Allow scripting of Internet Explorer web browser control”, set to enable
2. Check if the following registry key exist:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION
- Check if PanGPA.exe registry entry is present. If not, add a DWORD (32-bit value),
- Name : PanGPA.exe
- Value data: 2af8
- Base: Hexadecimal
- Once completed, restart the PanGPS service from Windows command prompt.
sc start/stop/restart PanGPS
Additional Information
For enabling the default browser, use the steps below:
- On the Firewall GUI: Network > GlobalProtect > Portals > (portal name) > Agent > (agent name) > App > Use Default Browser for SAML Authentication > Yes.
- Commit the changes.
- Refer also: Pre-deploying The Default Browser on macOS and Windows.