Customize reverse proxy instance configuration
Customize reverse proxy instance configuration for REST API clients.
- In the local management interface, go to Web > Reverse Proxy.
- Select inst1.
- Select Manage > Configuration > Edit Configuration File.
- Disable oautheas.
[oauth-eas] eas-enabled = false
- Enable oauthauth
[oauth] oauth-auth = https [session] require-mpa = no
- Enable managed cookies for the /mgaapi junction. Add the following stanza and entries at the end of the configuration file:
[junction:/mgaapi] managed-cookies-list = *JSESSIONID*,PD_*
- Enable authentication obligations to trigger /mgaapi/sps/apiauthsvc.
[obligations-urls-mapping] urn:ibm:security:authentication:asf:* = /mgaapi/sps/apiauthsvcExisting entries can be commented out.- Enable local redirects for authentication server URLs and CBA protected resources.
[server] maximumfollowredirects = 4 follow-redirects-for = !REPLAY! follow-redirects-for = GET /mgaapi/sps/apiauthsvc* follow-redirects-for = PUT /mgaapi/sps/apiauthsvc* follow-redirects-for = GET /demo/mobile-demo/rba*
- Click Save.
- Deploy and commit the changes.
Parent topic: Example combining CBA, Authentication Service Framework, and OAuth