Skip to main content
5 events
when toggle format what by license comment
Feb 26, 2019 at 12:40 comment added sfdcfox @sarveshkumar Use a Named Credential for this purpose.
Feb 26, 2019 at 12:38 comment added Sarvesh I am doing S2S integration to sync the data between two different org using REST API via connected App. So no picture of any UI thing all i need to handle in backend APEX only
Feb 26, 2019 at 12:31 comment added sfdcfox @sarveshkumar The web server flow has the user go to Salesforce, authenticate and grant access, then a code is returned to the server; the server then exchanges this code for an access token. Every flow that grants a refresh token requires a web browser login initially. You would need to create a Visualforce page or Lightning App to complete the initial login. Afterwards, you can use the refresh token to renew a session.
Feb 26, 2019 at 12:25 comment added Sarvesh i tried with grant_type = authorization_code. but in this there is one code parameter i don't what is that. here is a link developer.salesforce.com/docs/atlas.en-us.api_rest.meta/… on point 4
Feb 26, 2019 at 11:26 history answered sfdcfox CC BY-SA 4.0