How to get access token from OAuth2

I am working on a project that needs to make an API call to webApi which requires an access token. The access token is obtained using clientid, clientSecret, and client credentials as grant_type. I am unable to make a post request to obtain the access token to be used in the API call harder to fetch the data.

I have been trying the same. Read some past queries as well but could not get anything running so far. It would have been great if the getProfileFromGoogle block stored the access_token itself. Any help in this topic would be much appreciated @jared @muneer

1 Like

Iā€™m working on the same problem. Did you manage to get it working?