Forum Discussion

BEdwards's avatar
BEdwards
Occasional Contributor
6 years ago

How to really get the OAuth 2 token automatically

I wrote some code that gets an access token. When the code runs, a browser displays on the screen which contains the access token. But when I try to get the access token and log it, a null string i...
  • BEdwards's avatar
    BEdwards
    6 years ago

    Thanks Nastya_Khovrina,

    I've read this article about 40 times and get nothing from it.  I'm lost in the Auth Manager, I can't get an access token unless I use "Authorization Code Grant" and it only gives it to me in a web browser that I can do nothing with. Are there any classes on OAuth 2 with ReadyAPI?  Maybe that would be helpful.  Like a course for dummies.  I'm not a dummy, but don't deal with websites very often, mostly do background stuff in PowerShell, Ruby, VBA and such.