Forum Discussion

Jainsoumya's avatar
Jainsoumya
Contributor
3 years ago

Auth Token is not getting refreshed due to which API is getting failed with error 401

Hi richie

 

Auth Token is not getting refreshed automatically though I have ticked the checbox in settings too

and due to which I have to intervene manually and update the token 

Please refer the screenshot for the same 

  • richie's avatar
    richie
    Community 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

      • richie's avatar
        richie
        Community Hero
        Hey 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