"Custom Assertion is misconfigured" when using Decode ID Token Assertion In Oauth Toolkit OTK after migration
search cancel

"Custom Assertion is misconfigured" when using Decode ID Token Assertion In Oauth Toolkit OTK after migration

book

Article ID: 398547

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

When using the Decode ID Token in policy you may see an error at policy execution of  "Custom Assertion is misconfigured" 

Environment

ca api gateway 11.x

Resolution

After investigation it was found there were duplicate conflict OpenIDConnectAssertion-*.jar in location  /opt/SecureSpan/Gateway/runtime/modules/lib/ having multiple files with this name from differing versions were causing library conflicts in java in the usage of the Oauth Assertions.

1) Validate  /opt/SecureSpan/Gateway/runtime/modules/lib/ has only 1 OpenIDConnectAssertion

2) If duplicates exist due to migration of custom assertions process etc... Remove the old duplicate version of OpenIDConnectAssertion.

3) Restart the gateway to reload the assertions.