/react-flux-jwt-authentication-sample

Sample for implementing Authentication with a React Flux app and JWTs

Primary LanguageJavaScript

Add authentication to a React Flux app

This is a sample that shows how you can add authentication to a React Flux app. Read more about it in this blog post

Using it

Clone this repository as well as the server for this example.

First, run the server app in the port 3001.

Then, run npm install on this project and run npm run watch to start the app. Then just navigate to http://localhost:3000

How does it work?

To learn more about how this project works and how it has been implemented, please read this blog post

Issue Reporting

If you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.

License

MIT

What is Auth0?

Auth0 helps you to:

  • Add authentication with multiple authentication sources, either social like Google, Facebook, Microsoft Account, LinkedIn, GitHub, Twitter, Box, Salesforce, amont others, or enterprise identity systems like Windows Azure AD, Google Apps, Active Directory, ADFS or any SAML Identity Provider.
  • Add authentication through more traditional username/password databases.
  • Add support for linking different user accounts with the same user.
  • Support for generating signed Json Web Tokens to call your APIs and flow the user identity securely.
  • Analytics of how, when and where users are logging in.
  • Pull data from other sources and add it to the user profile, through JavaScript rules.

Create a free account in Auth0

  1. Go to Auth0 and click Sign Up.
  2. Use Google, GitHub or Microsoft Account to login.