What You Will Accomplish
In this guide, you will validate an Access Token issued by Mekarge A3 using the Introspection Endpoint defined in RFC 7662
Mekarge A3 allows Resources to validate Access Tokens via the Introspection Endpoint. Introspection becomes important when a Client attempts to perform a highly sensitive action on the Resource. As Permissions are granted dynamically, it is important to check if the Access Token includes the exact scope required for the operation at the time of the request, not just what was initially granted.
This guide uses two different Access Tokens:
- A Resource token used to authenticate the Resource to the Introspection Endpoint.
- A target Access Token, which is the token being validated.
At the end of this tutorial:
- You will validate an Access Token as a Resource.
Quick Concepts
| Client | Represents the web application |
| Resource | Represents a protected API |
Read more about Architecture and Concepts in Mekarge A3 documentation.