Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto login from localstorage session does not work with Scatter #31

Closed
laurensV opened this issue Apr 12, 2019 · 1 comment
Closed

Auto login from localstorage session does not work with Scatter #31

laurensV opened this issue Apr 12, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@laurensV
Copy link

When I login with the MockAuthenticator and then refresh the page it automatically logs me back in. When I try to do the same with scatter, it gives the following error after refreshing the page and I have to manually login again with scatter:

Scatter.js:103 Uncaught (in promise) UALScatterError: Unable to login
    at Scatter.eval (webpack:///./node_modules/ual-scatter/dist/Scatter.js?:103:23)
    at Generator.next (<anonymous>)
    at eval (webpack:///./node_modules/ual-scatter/dist/Scatter.js?:7:71)
    at new Promise (<anonymous>)
    at __awaiter (webpack:///./node_modules/ual-scatter/dist/Scatter.js?:3:12)
    at Scatter.login (webpack:///./node_modules/ual-scatter/dist/Scatter.js?:93:16)
    at UALJs.eval (webpack:///../dist/UALJs.js?:98:45)
    at Generator.next (<anonymous>)
    at eval (webpack:///../dist/UALJs.js?:7:71)
    at new Promise (<anonymous>)

What is the best way to remain logged in after refreshing the page with scatter?

@TaraTritt
Copy link
Contributor

This issue has been resolved with the latest patch version. Please upgrade to version 0.1.1 in your package.json for the fix, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants