Unable to authenticate the PVWA portal using the OIDC authentication method.
97
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 16:01 PM
Symptom
Unable to authenticate PVWA portal OIDC after patching the PVWA appliance from v12.6 to 12.6.5
{"ErrorCode":"CAWS00001E","ErrorMessage":"The type initializer for 'System.Text.Encodings.Web.DefaultUrlEncoder' threw an exception."}
Environment
12.6 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access Password Vault Web Access Authentications
Cause
Upgrading to version 12.6.5 does not update the bindingRedirect values in web.config.
Resolution
Edit (web.config) in ...\wwwroot\PasswordVault\
Change:
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.6.0" newVersion="4.0.6.0" />
</dependentAssembly>
To:
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>