Hi,
My use case is that i have to integrate APIGEE with external authorization. Client will be redirected to External IDP. It will provide client id, client secret, username and password. In response IDP (On success) will redirect to Apigee with access_token and refresh_token. Now i’m using Oauth Policy to get Apigee token. There it needs client_id as well. (Is there a way, i can get registered consumer_key or client id which was registered with APIGEE). I couldn’t find the way. What i did is that i took Client_id and client_secret of External IDP and imported that in Apigee ( so that both will use same client id) and changed IDP response to return client_id as well along with the token. ( so that i can pass that client_id to OAuth policy )
Now Oauth Policy generated the token. In another proxy, i verified that token. But if token is expired, i have to call External IDP to generate new token. For that call, i would need refresh_token, client_id, client_secret and access_token ( This i will get it from request ). How can i get other three parameters which are stored somewhere in edge.