You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My OAuth service is never refreshing (even manually), and the service is never recognizing my token as 'expired' also.
I noticed that the service was trying to access the 'refreshUrl_' when that variable was never setted up (=null).
So, I solved setting the refreshUrl_ to same as tokenUrl (.setRefreshUrl()) and manually refreshing (service.refresh()) when my API returned unauthorized.
I hope it may helps someone.
The text was updated successfully, but these errors were encountered:
My OAuth service is never refreshing (even manually), and the service is never recognizing my token as 'expired' also.
I noticed that the service was trying to access the 'refreshUrl_' when that variable was never setted up (=null).
So, I solved setting the refreshUrl_ to same as tokenUrl (.setRefreshUrl()) and manually refreshing (service.refresh()) when my API returned unauthorized.
I hope it may helps someone.
The text was updated successfully, but these errors were encountered: