How to access the response body(access_token) after oauth authentication happened?
Hi,
I have a requirement where I need to get the access_token,organizerKey from the response body of authentication response.
after getting the token and organizerKey, I need to fire another api to get another response.
my question here is after authentication happen where does that response stored? and how can we retreive those properties to get the things done.
thanks in advance
hoping for the reply :)
my response after oauth success is attached below
Response Body from postman:
{
"access_token":"abcd*********",
"token_type":"Bearer",
"refresh_token":"xyz***",
"expires_in":3600,
"account_key":"218828182192",
"email":" Proprietary information hidden",
"firstName":"bot",
"lastName":"pega",
"organizer_key":"1710811925840613655",
"version":"3",
"account_type":""
}