OTK check Response type supported Code missed in "auth/oauth/v2/authorize" policy
search cancel

OTK check Response type supported Code missed in "auth/oauth/v2/authorize" policy

book

Article ID: 204740

calendar_today

Updated On:

Products

CA API Gateway API SECURITY CA API Gateway Precision API Monitoring Module for API Gateway (Layer 7) CA API Gateway Enterprise Service Manager (Layer 7) STARTER PACK-7 CA Microgateway

Issue/Introduction

After completing the upgrade to OTK 4.x, the "auth/oauth/v2/authorize" policy we see an assertion that states "Code not available for assertion: CustomAssertion" for the  "Check Response Type Supported" assertion.

 

What do we need to do to fix that?

 

Environment

Release : 9.4

Component : API GATEWAY

Resolution

First:

If you see this problem ensure once you have performed an upgrade that you have restarted the ssg services.

To restart SSG services;

SSH to your gateway.

Login as ssgconfig.

choose option 3

3) Privlieged shell

# service ssg restart

Once ssg services have restarted then login to policy manager again and validate if the /authorize endpoint now has resolved the "custom assertion is not available"

 

If the above does not fix this,

Then: 

The assertion can be recreated by re-installing OTK, or can migrated moved by exporting and importing the encapsulated assertion from other gateway with same OTK version.

ref:

https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-management-oauth-toolkit/4-4/upgrade-the-otk.html

Perform Post-Installation Tasks
Post-installation tasks include restarting the Gateway to make sure your upgrade modifications take effect.

Additional Information

https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-management-oauth-toolkit/4-4/installation-workflow.html