Forum Discussion
- richieCommunity Hero
Hey Jainsoumya
It's been several years since I did anything wiht OAuth and that was when you had to use a script to do the auto refresh, so I don't think I'll be much help here.
HOWEVER - the token refresh options appear pretty straightforward.
Rather than use the "no expiration" radio button - have you played around with the custom option?
Cheers,
Rich
- JainsoumyaContributor
- JainsoumyaContributor
richie while trying to automate the script for oauth token I am getting an error :
The following script failed: ko.dataFor(document.getElementById('i0116')).usernameTextbox.value('john.smith@hotmail.com'); document.getElementById('idSIButton9').click()
Error: Uncaught TypeError: Cannot read property 'usernameTextbox' of undefined]
For reference I am using this doc :https://support.smartbear.com/readyapi/docs/requests/auth/types/oauth2/automate/azure-sample.html
Related Content
- 2 years ago
- 2 years ago
- 5 years ago