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

Persistent Cookies #32

Closed
jacobrs opened this issue Feb 1, 2017 · 0 comments
Closed

Persistent Cookies #32

jacobrs opened this issue Feb 1, 2017 · 0 comments
Assignees
Milestone

Comments

@jacobrs
Copy link
Owner

jacobrs commented Feb 1, 2017

Bug Description

The Redux client server doesn't cache cookies returned by the API server. This means the subsequent API calls will not send the authentication tokens and the initial login call is the only working authenticated page. This means that other API calls will not be authenticated by the passport middleware and hence won't return a user object when calls are complete. The lack of tracking the current user defies the purpose of a login.

Solution

Look into redux-cookies or redux-cookie to merge API cookies into the global client store and then unload them in the browser's cookies. An authentication test will need to be conducted in order to make sure the cookies are persistent.

Login Flow (Yellow Box is Missing)

login_flow

Agile Information

Priority: high
Risk: low
Estimated time: 8 hours

@jacobrs jacobrs added this to the Sprint 2 milestone Feb 1, 2017
@jacobrs jacobrs self-assigned this Feb 1, 2017
jacobrs pushed a commit that referenced this issue Feb 15, 2017
…ng authenticated routes are capable of getting session information.
jacobrs added a commit that referenced this issue Feb 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant