• Rohit Jadhav 12
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Currently, I am using OAuth2 authorization code flow to authenticate REST services, but when I am doing request to get authorization code like this
 https://login.salesforce.com/services/oauth2/authorize?
 client_id=3MVG9IHf89I1t8hrvswazsWedXWY0i1qK20PSFaInvUgL 
 redirect_uri=https://www.mycustomerorderstatus.com/oauth2/callback& response_type=code

It requires the login & to click allow access then it redirects to my callback URL with accessCode. So I want to skip this process & auto-approve it because I am using it as background service & not interacting with user for login

How to auto approve Salesforce REST API OAuth2 authorization_code flow to not show allow pop-up.
Currently, I am using OAuth2 authorization code flow to authenticate REST services, but when I am doing request to get authorization code like this
 https://login.salesforce.com/services/oauth2/authorize?
 client_id=3MVG9IHf89I1t8hrvswazsWedXWY0i1qK20PSFaInvUgL 
 redirect_uri=https://www.mycustomerorderstatus.com/oauth2/callback& response_type=code

It requires the login & to click allow access then it redirects to my callback URL with accessCode. So I want to skip this process & auto-approve it because I am using it as background service & not interacting with user for login

How to auto approve Salesforce REST API OAuth2 authorization_code flow to not show allow pop-up.