How to get OAuthV2 access token using end user id

I am creating a proxy that will get an input payload as the end user id, for example, given the payload like this:

	{
	   "id" : "test-user-01"
	}<br />

then, i have a proxy that exposed such endpoint: /access-token/revoke. And this endpoint will consume a JWT token from the request header.

My point is, are there any way that I can get the access token by using the id from the request payload ? with regarding of the fact that there is only the JWT token inside the request header.

I have also went through Apigee's document and found the management API that can achieve this also. But the thing is this api(https://apidocs.apigee.com/management/apis/get/organizations/%7Borg_name%7D/oauth2/search) seems to be out of my reach since my Apigee account plan is not the enterprise one, so I am trying to figure out a way that I can achieve such behavior by using other methods.

Thanks.

0 0 42
0 REPLIES 0