I am using recently announced Salesforce Integration license user for an integration using Web Server 2.0.
As per the Web Server 2.0 flow, I need to first obtain the Authorization Code. To get the Authorization code, we need to invoke the URL of the Salesforce instance by passing some parameters like client_id, callback_url, response_type
etc.
When I am hitting the URL like below:
https://Instance--sandboxName.sandbox.lightning.force.com?client_id=CLIENT_ID_VALUE&redirect_uri=REDIRECT_URI_VALUE&response_type=cod
I am getting error response like "Access Restricted for API Only Users"
I know the reason for this error is because the standard integration profile has "API Only" permission checked.
So, How can I get Authorization Code using "Salesforce Integration" license user in "web server 2.0" flow
?