angular-token
angular-token copied to clipboard
Local storage not updated after call to processOAuthCallback
When using oAuth flow within the same window after successful auth local storage is not updated.
Followed instructions and see that currentAuthData has proper values from URL, however there is no call to setAuthData inside getAuthDataFromParams according to the source code. Therefore when making a request to let's say validateToken it's not working (since technically it calls request and request calls getAuthDataFromStorage which in fact overrides atCurrentAuthData set in processOAuthCallback).
Works perfectly fine with newWindow flow.