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

Token isnt saved between page reload #102

Closed
srghma opened this issue Aug 10, 2017 · 2 comments
Closed

Token isnt saved between page reload #102

srghma opened this issue Aug 10, 2017 · 2 comments
Labels

Comments

@srghma
Copy link
Contributor

srghma commented Aug 10, 2017

maybe save it in cookie?

@Sly777 Sly777 added the bug label Aug 10, 2017
@Sly777
Copy link
Owner

Sly777 commented Aug 10, 2017

I realized that yesterday, too. Right now, We are saving the data with dispatchers.signIn components/AuthFields/index.data.js:43 so that means save is working but It's not working anymore after refreshing the page. We need to trigger the checkToken on every refresh (first load)

@srghma
Copy link
Contributor Author

srghma commented Aug 10, 2017

as I know, localForage is intended to use in client-side, but we need token on server-side too, its better to use cookie

@Sly777 Sly777 mentioned this issue Aug 10, 2017
@srghma srghma closed this as completed Aug 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants