Go to All Forums

OAuth Profile - Retry after failures

Today when an OAuth profile has ~3 errors authenticating/refreshing its Oauth token, the profile stops trying to refresh the token until you manually go in and re-run the authorization step in the UI. While its helpful that we get an alert about the incident, it'd be more helpful if after some reasonable period of time (like 30 mins or an hour) Site 24x7 did re-try the token refresh, rather than just wait for manual intervention. 

Like (1) Reply
Replies (2)

Re: OAuth Profile - Retry after failures


When you run through the UI again, it's actually reauthorizing Site24x7 using your browser cookies / credentials and not using the old refresh token. The refresh request will typically continue to fail. We see that several OAuth providers have slightly different refresh request formats that deviate from the standard. We add support for them on a case-by-case basis.

Please contact support so we can debug your specific issue.



Like (0) Reply

Re: OAuth Profile - Retry after failures

Hey Greg,

We have handled OAuth refreshing based on your feedback. OAuth profile will still work in the same way as before, however, if we detect a monitor configured with OAuth as down due to authentication failure with response code as 401, we will refresh the token and will retry the data collection with the new access token. This will avoid unnecessary alerts. But if there is any issue with your OAuth server during this period, an alert will be triggered.

You don't have to take any action from you side. 


Product Manager, Site24x7

Like (0) Reply

Was this post helpful?