Generated AuthStore needs to verify authenticated connection after login/register
beeman opened this issue · 1 comments
beeman commented
Expected Behavior
After login or register, the authenticated connection should verified by retrieving the me
Query.
Current Behavior
The session is not verified. When a login success but somehow the cookie does not get set, the session is invalid and will not work. This should be prevented by checking the session.
Steps to Reproduce (for bugs)
- Deploy a generated app on Heroku
- By default, cookie will not be set because of missing
API_COOKIE_DOMAIN
env var. - Register: the UI will let you in, you won't have a session