When the application hits tokeninfo then right now we just get code of 200 and empty body. I need the body to be populated with custom attributes of the developer app. How can i do that?
,
when the application fires token info then i need to get the custom attributes for the app in the response. What is the best way to do this
I would suggest to do token validation using oauth policy. Once the token is validated, all the custom attributes of the app can be accessed by
oauthv2.{policy_name}.{custom_attribute_name}
Hi I did validate the token and then used Verify Key policy and then Extract Variables to extract the custom attributes. Then in use the Javascript policy to set those to the response body.
But i am not sure if this is the optimum way to do this
What you suggested gives me access to custom attributes but as i said i want them to be displayed in the response
you can use
oauth policy or Verify-API-Key Policy or Access Entity Policy
For simple cases you can use verify-api-key
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |