angular-token icon indicating copy to clipboard operation
angular-token copied to clipboard

Local storage not updated after call to processOAuthCallback

Open dsvishchov opened this issue 8 years ago • 0 comments

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.

dsvishchov avatar Nov 05 '17 18:11 dsvishchov