Change Oauth manager to use different port other than the default 8443
search cancel

Change Oauth manager to use different port other than the default 8443

book

Article ID: 401380

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

User has a route configured to route the request for the Oauth manager to port 443,  but the Oauth manager is default to port 8443.  Can not bring up the Oauth manager. 

Environment

ssg 11.x

Cause

The default setting of the Oauth manager port is 8443. 

Resolution

By default, the OAuth Toolkit policies are configured to use Port 8443 for HTTPS communication. This includes logging in to the OAuth Manager.

Configure the cluster-wide property 'otk.port' to use an alternative port.  
 
Also, the APIs referencing the default 8443 can be configured directly.
The following APIs both reference the default 8443 port for the 
this.app.url.login context variable:
  • /oauth/manager/tokens
  • /oauth/manager/clients
Perform the same procedure in both APIs.
To configure the API with an alternative port:
  • In Policy Manager, open the API.
  • Search for "8443" and locate the assertion that sets the  this.app.url.logincontext variable.

  • Double-click the assertion, edit the port number, and click 
    OK
    .

Additional Information