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.
- Login to Anypoint Platform account, and then go to API Manager.
- Click Loyalty Management POS API Powered by MuleSoft.
- Click Policies.
- Click Add policy.
- Under Security, select OAuth 2.0 access token enforcement using Mule OAuth provider, and then click Next.
- In the Scopes (Optional) field, enter
api
. - Select Contains any scope.
- 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
. - Select Skip Client Id Validation.
- Save your changes.