SAML Authentication Infinite Redirection When Default Authentication is Configured - Version 10.7 ONLY

SAML Authentication Infinite Redirection When Default Authentication is Configured - Version 10.7 ONLY

79
Created On 11/10/26 11:03 AM - Last Modified 11/10/26 12:58 PM


Environment


10.7

Procedure


SYMPTOM:
When integrating SAML authentication in version 10.7 with the default authentication method set to 'saml', the login process gets stuck in an infinite loop with the SAML IdP.  You may see an error in the browser showing ERR_TOO_MANY_REDIRECTS.  The infinite redirects can be validated within the IIS logs and from a browser network capture as shown below.




















































PROBLEM:  

There is an issue with how the default.aspx page is redirecting to the SAML authentication method.  The out of the box CyberArk.Services.Web.dll file was patched to resolve this issue.

SOLUTION:
A patch has been developed to fix this issue.  To apply the patch, perform the following steps:

1. Download CyberArk.Services.Web.dll from this solution. 
2. Back up the current CyberArk.Services.Web.dll on the PVWA server located at: 


<drive>:\inetpub\wwwroot\PasswordVault\Bin\'CyberArk.Services.Web.dll 

----Backup this file to your PVWA desktop (or wherever you want for safekeeping in case you need to revert back, as long as it is not backed up anywhere under the inetpub directory). 

3. Copy the downloaded .dll to your PVWA's Bin directory. Place it in: 

<Drive>:\inetpub\wwwroot\PasswordVault\Bin 

4. Perform a IISRESET 

5. Test the SAML authentication. You should be able to set the default auth method to saml at this point. 



NOTE:  This patch only applies to version 10.7 and 10.7.1


Additional Information


Details

SYMPTOM:
When integrating SAML authentication in version 10.7 with the default authentication method set to 'saml', the login process gets stuck in an infinite loop with the SAML IdP.  You may see an error in the browser showing ERR_TOO_MANY_REDIRECTS.  The infinite redirects can be validated within the IIS logs and from a browser network capture as shown below.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
PROBLEM:  
There is an issue with how the default.aspx page is redirecting to the SAML authentication method.  The out of the box CyberArk.Services.Web.dll file was patched to resolve this issue.
 
SOLUTION:
A patch has been developed to fix this issue.  To apply the patch, perform the following steps:
 
1. Download CyberArk.Services.Web.dll from this solution. 
2. Back up the current CyberArk.Services.Web.dll on the PVWA server located at: 
 
<drive>:\inetpub\wwwroot\PasswordVault\Bin\'CyberArk.Services.Web.dll 
 
----Backup this file to your PVWA desktop (or wherever you want for safekeeping in case you need to revert back, as long as it is not backed up anywhere under the inetpub directory). 
 
3. Copy the downloaded .dll to your PVWA's Bin directory. Place it in: 
 
<Drive>:\inetpub\wwwroot\PasswordVault\Bin 
 
4. Perform a IISRESET 
5. Test the SAML authentication. You should be able to set the default auth method to saml at this point. 
 
 
NOTE:  This patch only applies to version 10.7 and 10.7.1



Actions
  • Print
  • Copy Link

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