OAuth Authenticator Service Configuration

Properties in mashery-proxy-config.json for OAuth authenticator service":
"com.mashery.service.onprem.oauth.authenticator.oauth-service-authenticator" : {
        "publicKeyName": "public_key",
        "publicKeyValue": "12345-12345-123456789",
        "username": "root",
        "password": "057ba03d6c44104863dc7361fe4578965d1887360f90a0895882e58a6248fc86"
},
"com.mashery.service.onprem.oauth.api-server": {
        "http.enabled": true,
        "https.enabled": true,
        "http.port": 9083,
        "https.port": 8083,
        "ssl.keystore": "/etc/mashery-server-ssl/mashery-local.jks",
        "ssl.password": "changeit",
        "ssl.keypassword": "changeit"
},

Proxy Endpoint Creation in Tethered



Endpoint setup in Untethered

Setup a new service with one endpoint as the regular endpoint and another as the protected service.

  1. Endpoint query string parameters must match settings of com.mashery.service.onprem.oauth.authenticator.oauth-service-authenticator service in mashery-proxy-config.json.
  2. The OAuth Authenticator is disabled if "publicKeyName" is not present in the configuration file.
  3. Developer's API Key Location should be custom for Untethered mode for the protected endpoint.