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

dmiller
Admin Admin
Admin

Looks like that fix was in 4.21.


Diane Miller
Community Manager

sanjaynayak
New Contributor III

Hi,
Hope you are doing well! Would you mind helping to check why same oauth2 is working for one node but not for other node after march 11 release
It was working fine for both the node before this, all of sudden it stoped working and we are getting 500 error messages on authorize button click.

mramaswamy
New Contributor II

Sorry for a delayed response. My bearer token is refreshed even though I donโ€™t get a refresh token while creating the account. Thanks for all your help.