How to create new custom SAML 2.0 application in OKTA to work with PAS 10.10+, 11.1 SAML authentication?

How to create new custom SAML 2.0 application in OKTA to work with PAS 10.10+, 11.1 SAML authentication?

107
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 16:02 PM


Symptom


After configure OKTA application, SAML connection error

PASWS008E SAML authentication is not configured properly. Please contact your Administrator.

The API endpoint returns an HTTP 500 error which you can see in the IIS logs.

 

In the WebSession log there is this more detailed error:

CyberArk.PasswordVault.PASWebServices.MissingConfigurationParametersException: PASWS008E SAML authentication is not configured properly. Please contact your Administrator.



Environment


10.10;11.1;11 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access

10.10



Cause


OKTA application configuration and web.config configuration issue.



Resolution


Create a new custom SAML 2.0 Application in OKTA:

 

  • Click the "SHOW ADVANCED SETTINGS" to access the additional options
  • Response: Signed
  • Assertion Signature: Unsigned
  • Signature Algorithm: RSA-SH256
  • Digest Algorithm: SHA256
  • Assertion Encryption: Unencrypted
  • Enable Single logout: <Leave it not selected>
  • Assertion Inline Hook: None
    •  Inline hooks are outbound calls from Okta to your own custom code, not necessary in this case.
  • Authentication context class: PasswordProtectedTransport
  • Honor Force Authentication: Yes
  • Application username: <should be passed in as the samaccountname format. i.e. 'user' instead of 'user@domain.com'>
  • SAML Issuer ID: PasswordVault

 

After the app is created, OKTA will display the following values, you will need to provide on the Idira side of things in the \inetpub\wwwroot\PasswordVault\web.config

IdentityProviderLoginURL - The login URL of your IdP.

IdentityProviderCertificate - The base 64 text representation of the certificate that is configured for your IdP as the SAML response signing certificate. This is used by the PVWA to verify the authenticity of the responses.

Issuer - The Issuer string that enables the PVWA to identify itself to the IdP. Also known as the EntityID. It must be identical to the Audience defined in the IdP. The default value for this parameter is PasswordVault

When configuring SAML in the PVWA: 

  1. In the Options pane, right-click Access Restriction, and then select Add AllowedReferrer.
  2. In the Properties pane, in BaseURL, specify the URL of your IdP. THIS IS THE whole url that is provided as the IdentityProviderLoginURL
  3.  - shortening the URL is a less secure implementation method

 

The PVConfiguration.xml need to have AllowedReferrer BaseUrl properly referenced.

Please also ensure that the SAML related .dlls are correctly located in the wwwroot\PasswordVault\Bin folder.

 



Actions
  • Print
  • Copy Link

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