ember-simple-auth
ember-simple-auth copied to clipboard
Any trigger have for _refreshAccessToken request failed?
Hi! I can't handle Refresh Token 401 response. Have any solution for this situation?
I looking oauth2-password-grant.js file and there is no trigger.
Regards, Themesama
We solved this by overrriding the _scheduleAccessTokenRefresh function (copy paste the original implementation) and add an catch block to the this._refreshAccessToken in the run.later call.