Javascript errors seen when using GlobalProtect embedded browser for SAML authentication.

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


  1. 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
        User-added image


       2. Check if the following registry key exist:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION
  1. Check if PanGPA.exe registry entry is present. If not, add a DWORD (32-bit value),
  • Name : PanGPA.exe
  • Value data: 2af8
  • Base: Hexadecimal
    User-added image
  1. 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:
  1. On the Firewall GUI: Network > GlobalProtect  > Portals > (portal name) > Agent > (agent name) > App >  Use Default Browser for SAML Authentication > Yes.
  2. Commit the changes.
  3. Refer also: Pre-deploying The Default Browser on macOS and Windows.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000oMANCA2&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language