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

Added with-cookie-auth-redux example #4011

Closed
wants to merge 4 commits into from
Closed

Conversation

hugotox
Copy link

@hugotox hugotox commented Mar 14, 2018

This example authenticates users with cookies, validates user permissions with a HOC and stores user data in redux. No tokens were used for this example.


server.use(cookieParser())

server.use(bodyParser.urlencoded({ extended: true }))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

express.json express.urlencoded (re)available in 4.16+

@timneutkens
Copy link
Member

Cool example, however I'm going to close this in favor of this example: #5821.

Thank you very much for your contribution! 🙏🙏

@lock lock bot locked as resolved and limited conversation to collaborators Dec 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants