hi,
while generating the acess token as its oath2 api needs grant type as authorization code to get the access token for implemntation in code in the salesforce platform iam unable to get the auth code .
can anyone help with this . I have tested the apis but in code i need help to get auth code to get the acess toaken.
Thank you
1 Like
To get the authorization code in Salesforce OAuth2, ensure you redirect the user to Salesforce’s authorization endpoint with the correct client ID and redirect URI. After user consent, Salesforce redirects back with the authorization code in the URL. Use this code to request the access token.