-
Explain Web Server Authentication Flow Implementation in Salesforce.
I am trying to implement Web Server OAuth flow from one Salesforce Org to another. I am facing several errors while trying to do so. Also I have few generic questions also at the end.
Below are the errors I am facing:
Access token received as part of the authorize step is returning Session expired or invalid message when being used to hit custom rest api
On trying to add scope to the authorize step, like scope=web or scope=refresh_token , it throws the error: OAUTH_APPROVAL_ERROR_GENERIC
I checked the session settings but validity for access tokens is not an issue there.
Below are the generic questions related to integration and connected app.
In case of web server flow, how is security model of salesforce taken care of. Does it mean in this flow one would have access to all data if the app has full data scope?
I understand Authentication happens first then followed by authorization. But the very first step in this flow is the authorize step. Does it mean we have authorization happening first in this case?
Log In to reply.
Popular Salesforce Blogs

7 Keys to a Successful Salesforce Integration
Organizations rely on multiple software and platforms to carry out specific business operations. With apps dedicated to sales, marketing, and collaboration, teams have unlimited access…

4 Major Advantages of Salesforce Einstein Analytics for Sales Managers
For many years, most of the Salesforce users were using reports and dashboards to quickly look up their data, perceive performance, and communicate results. But…
Popular Salesforce Videos
Salesforce Summer '22 Release Highlights | Salesforce Video Tutorial
It's time for Salesforce's Summer '22 update release! This release is chock-full of exciting customization updates ready for you to use within your Salesforce organization.…
What Is Salesforce Data Cloud & How It Works ?
As a business, it’s hard to get all the data in a single place and make informed business decisions. And this is where Salesforce Data…
Nonprofit Summit 2022 - Go Further with Salesforce Reports and Dashboards Hands-on Training
Salesforce reports and dashboards are the analytical sides of CRM. They are used to convert business requirements into Visual representations like Graphs, Pie Charts, Tables,…