Skip to content
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.

Get empty data when restarting browser #188

Open
valleyman01 opened this issue Nov 4, 2017 · 1 comment
Open

Get empty data when restarting browser #188

valleyman01 opened this issue Nov 4, 2017 · 1 comment

Comments

@valleyman01
Copy link

valleyman01 commented Nov 4, 2017

Hello,
My token has 10 days validity but when I restart the browser I don't receive data anymore. I mean the return object comes with a 200 code OK but with data: null

It's so strange because it does send the data after login but not if I close and restart my browser.

By the way I have noticed the signature of JWT token changes if login again, is it normal ?

Can you please help ?

Thanks

@valleyman01 valleyman01 changed the title Not sending data when restarting browser Get empty data when restarting browser Nov 4, 2017
@zangab
Copy link

zangab commented Jan 11, 2018

does the browser know the token? do u create a session?
and if you're building a browser application (and no rest api), i recommend using sessions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants