Forum Discussion
3 Replies
- NBorovykhModerator
The process of automating token retrieval is described in this article: http://readyapi.smartbear.com/features/auth/types/oauth2/automate/start
- RB17New Contributor
- rlong98Contributor
Agreed there is no solution that I have seen to automate the OAuth2 for Salesforce. I tried all the so-called scripts and tricks that people have posted, even SmartBear solution of "Automation" in the OAuth2
WHAT HAPPENS:
1. We have to click on "Auth" tab
2. Click on "Get Access Token"
3. Click on "Get Access Token" again
4. Wait for SoapUI Browser to open to manually enter in the data and click "Login to Sandbox"
From there we now can run all the Requests
WHAT WE WANT:
a. A solution for the Automation section in the "Get Access Token" section > Automation... Button where you can put a page 1 or page 2 script. (none of the online examples worked for Salesforce)
or
b. A Groovy way to do the above
or
c. To Generalize - we don't want to have to manually do the above 1-4 steps
Thank you,
Rob Long
Anyone who finds this solution will be a hero! No one has gotten this to work that I have searched.
Related Content
- 3 years agoalexandrebodart
- 4 years agoyassir
Recent Discussions
- 20 hours agodipsthorat
- 24 hours agoisbiat
- 2 days agoarmygrad