cancel
Showing results for 
Search instead for 
Did you mean: 

REST OAuth2 Account - 'Client Credentials' grant type

PSAmmirata
Employee
Employee

I’m working with an application that supports ‘Client Credentials’ and ‘Authorization Code’ grant types in the authorization request; however, doesn’t support refresh tokens. What is the value of selecting the ‘Client Credentials’ grant type in the REST OAuth2 Account? Does the REST OAuth2 Account make the authorization request and get the token when the first document enters the REST snap that’s using the account? What’s the purpose of the ‘Authorize’ button when the grant type is ‘Client Credentials’ since the token will expire at some point? Is it just to validate that the account has been configured correctly?

I have the same questions if the grant type is ‘Authorization Code’ and the api doesn’t support refresh tokens.

17 REPLIES 17

The Connecting to Marketo with the REST Snap Pack pattern uses REST Get to connect to Marketo. Maybe there is something there that will give you an idea.


Diane Miller

sanjaynayak
New Contributor III

Yes marketo is not supporting oautho2. Work around is rest snap

mramaswamy
New Contributor II

Yes. I tried that but I am not getting any Refresh Token when I authorize in the account creation. When did we solve this problem?

@mramaswamy Can you share what’s the error when you authorize the account?

sanjaynayak
New Contributor III

We are getting 500 error