Forum Discussion
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
- Jainsoumya3 years agoContributor
richie Yes , I have tried all the option available there, but no luck .
sonya_m Can you please help me with this
- Jainsoumya3 years agoContributor
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
- richie3 years agoCommunity HeroHey Jainsoumya,
I havent got an OAuth project to try and play with it, but if you've played with the options (and lets face it, its not overly complicated functionality) im leaning towards raising a support ticket to see if Smartbear can sort it for you as youve exhausted all options.
The ReadyAPI support ticket page is here -->> https://support.smartbear.com/readyapi/message/
Cheers,
Rich- mkrausem3 years agoOccasional Contributor
Hi Jainsoumya ,
we are using a Submitlistener Script to get new tokens. With the options it worked not for us too.
Kind Regards, Michael
Related Content
- 2 years ago
- 3 years ago
- 5 years ago
- 2 years ago
Recent Discussions
- 47 minutes ago
- 5 days ago
- 9 days ago