Error validating access token

When this happens to Twitter account objects, I see server responses to otherwise perfectly reasonably signed requests with the error Error validating access token: Session does not match current stored session.

To apply the OAuth 2.0 Access Token Enforcement Using External Provider policy to an API, use the general procedure for applying policies.

Configure the optional scopes and required token validation endpoint URL as follows: In some cases, you might want to get information about externally authenticated users who use your API.

In this case, you do not use the OAuth 2.0 Access Token Enforcement Using External Provider policy.

To use the OAuth 2.0 Access Token Enforcement Using External Provider policy, you need a Mule OAuth 2.0 provider to provide an access token.

You restrict access to your API service on Anypoint Platform by applying the OAuth 2.0 Access Token Enforcement Using External Provider policy.

Like other API Manager-enforced policies, the API needs to be registered in API Manager to apply this policy.

A successful response will return a status code of 200 and the associated claims for the token.

An unsuccessful response will return a 400 with an error message.

Place the following script between the inbound and outbound endpoints of the proxy application to which you applied the policy.

253 Comments

  1. Video Online Chat Room - This room is basically for webcam chatters who love to do online instant webcam chat with other chatters.

  2. Imagine that when i choose to edit a row and make some changes.. Values[index] Regards Allen, Thats exactly what i mean by "Custom Datasource" :) Sorry for not to use the right expression. so that i could recover it in edit mode and read data from the normal and edit mode...

Comments are closed.