OAuth flow failed. Verify the configurations and try again. Error detail:invalid_grant, user hasn't approved this consumer

Rajat_Choudhary
Tera Expert

Hi All,

I am trying to integrate with Salesforce by following the steps in this article Set up the Salesforce spoke.

I have configured all the steps . While trying to get Oauth Token from credential screen , i am getting below error.

OAuth flow failed. Verify the configurations and try again. Error detail:invalid_grant, user hasn't approved this consumer

I have already checked Article: KB0821161 related to this issue. But that didn't help.

Any help around this will be highly appreciated.

Thanks,

Yours friendly Developer,

Rajat Choudhary 

 

Hope this answers will be helpful.
Please mark the answer as helpful and correct.

Best Regards,
Rajat Choudhary
2 REPLIES 2

Sai25
Giga Guru

Hi Rajat,

Go to Application Registries and open the one which you have created.

Change the grant type to Authorization code . Also, you need to change grant type in the default profile.

find_real_file.png

 

find_real_file.png

Thank You,

Sai.

Hi Sai, I was trying to do it using JAVA KEY STORE and JWT bearer. Also can you please suggest what should be the Authorization url if grant type is Authorization code. Thanks for the response
Hope this answers will be helpful.
Please mark the answer as helpful and correct.

Best Regards,
Rajat Choudhary