OIDC Authentication Fails with the Error "Authentication failure: Please contact your Administrator"

OIDC Authentication Fails with the Error "Authentication failure: Please contact your Administrator"

368
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:09 PM


Symptom


When user attempts to authenticate using OIDC, they receive the message below in their web browser:

Authentication failure: Please contact your Administrator

 

pvwa-oidc-authentication-failure

 

An error like the following can be seen in the "C:\Windows\Temp\PVWA\PVWA.App.Log":

 

ERROR    || 35 || <username> || 310DC || <session-id> || PVAUN018E State value not found in cache under key [<session-token-key>]. ||  || CyberArk.Authentication.Logic.Exceptions.OIDCValidationException: PVAUN018E State value not found in cache under key [<session-token-key>].
INFO     || 35 || <username> || 310DC || <session-id> || Token Response:: Code: 302 ||  || OIDCController
DEBUG    || 35 || <username> || 310DC || <session-id> || Resolving type ir ||  || bei
DEBUG    || 35 || <username> || 310DC || <session-id> || a start ||  || ajc
DEBUG    || 35 || <username> || 310DC || <session-id> || a end | ReturnObjectType: System.Boolean ||  || ajc
TRACE    || 35 || <username> || 310DC || <session-id> || Casos SessionFactory Request: DeleteSession ||  || Casos
TRACE    || 35 || <username> || 310DC || <session-id> || Casos SessionFactory Request[DeleteSession] ended. ||  || Casos
TRACE    || 35 || <username> || 310DC || <session-id> || EPVSW006P End page /PasswordVault/api/Auth/OIDC/openid/Token | 1 | 0.16 ||  || 
INFO     || 35 || <username> || 310DC || <session-id> || EndRequest /PasswordVault/api/Auth/OIDC/openid/Token | code: 302 ||  || u4



Environment


12.6;13.0;13.2;14.0;14.2 Privileged Access Manager (PAM, self-hosted);Remote Access (formerly Alero) Password Vault Web Access

PVWA - Any Version - All Operating System Versions



Cause


The session being established is not being routed back to the same PVWA Server in the middle of the OIDC exchange.



Resolution


Ensure any load balancers routing PVWA traffic in the environment have session persistence turned on.

Use cookie-based persistence (COOKIEINSERT). This tracks the user's browser session rather than their IP address, ensuring their connection stays pinned to the correct server. 



Actions
  • Print
  • Copy Link

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