function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Agnibha Chakrabarti 10Agnibha Chakrabarti 10 

How to set Grant type in Auth. provider for oauth2.0

Hi,

Is there any way to provide grant type for oauth2.0 authentication in auth. provider and then use that in the named credential? or is that automatically handled by salesforce?

thanks in advance
Best Answer chosen by Agnibha Chakrabarti 10
AbhishekAbhishek (Salesforce Developers) 
https://developer.okta.com/blog/2018/04/10/oauth-authorization-code-grant-type

https://developer.okta.com/blog/2018/06/29/what-is-the-oauth2-password-grant

Try the above for your query.

All Answers

AbhishekAbhishek (Salesforce Developers) 
https://developer.okta.com/blog/2018/04/10/oauth-authorization-code-grant-type

https://developer.okta.com/blog/2018/06/29/what-is-the-oauth2-password-grant

Try the above for your query.
This was selected as the best answer
Agnibha Chakrabarti 10Agnibha Chakrabarti 10
Hi , Abhishek thanks for replying....but I want to know if there is any way to set Grant type in Auth. provider in salesforce
 
AbhishekAbhishek (Salesforce Developers) 
It not possible but I request you to go through the above blogs which I mentioned.