Layer 7 API Gateway: Configure OAuth Manager application URL

book

Article ID: 106225

calendar_today

Updated On:

Products

STARTER PACK-7 CA Rapid App Security CA API Gateway

Issue/Introduction

In the event that you are using a vip or proxy to access the OAuth Manager, you may need to change the configured port used for the OAuth manager from the default (8443).

 



Environment

OAuth Toolkit 4.x

Resolution

Open a session to the Policy Manager, and open the “#oauth manager config” policy.
It can be found under" OTK/Customizations/oauth manager/#oauth manager config".

Add a "Set Context Variable" Assertion to the policy, with the following values:

Variable Name: this.app.url
Data Type: String
Content-Type: text/xml; charset=utf-8
Expression: https://${request.url.host}${request.url.path}

The above example is for removing the 8443 port configured in the default "oauth manager config" policy, and using the default HTTPS port.