Apply OAuth 2.0 Access Token Enforcement

Secure your Loyalty Management POS API Powered by MuleSoft app by applying OAuth 2.0 access token enforcement. The OAuth 2.0 access token enforcement policy restricts Loyalty Management POS API access to only those HTTP requests that provide a valid OAuth 2 token.

  1. Login to Anypoint Platform account, and then go to API Manager.
  2. Click Loyalty Management POS API Powered by MuleSoft.
  3. Click Policies.
  4. Click Add policy.
  5. Under Security, select OAuth 2.0 access token enforcement using Mule OAuth provider, and then click Next.
  6. In the Scopes (Optional) field, enter api.
  7. Select Contains any scope.
  8. In the Access token validation URL field, enter the URL for the Loyalty Management POS API OAuth Provider app in the format domain-name-of--app)/(validateTokenWithScopes. For example, https://lc-oauth-validate.us-e2.cloudhub.io/validateTokenWithScopes.
  9. Select Skip Client Id Validation.
  10. Save your changes.