{"id":15099109,"url":"https://github.com/amaury1093/react-redux-auth0-kit","last_synced_at":"2025-10-08T05:30:19.983Z","repository":{"id":53122261,"uuid":"72282076","full_name":"amaury1093/react-redux-auth0-kit","owner":"amaury1093","description":"Minimal starter boilerplate project with CRA, React, Redux, React Router and Auth0 authentication","archived":true,"fork":false,"pushed_at":"2021-04-05T22:40:57.000Z","size":751,"stargazers_count":113,"open_issues_count":6,"forks_count":30,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-01T06:40:37.180Z","etag":null,"topics":["auth0","authservice","babel","boilerplate","create-react-app","es6","eslint","live-reload","minimal","react","react-router","redux","test","webpack"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amaury1093.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-29T11:56:31.000Z","updated_at":"2024-06-08T17:04:34.000Z","dependencies_parsed_at":"2022-09-08T12:42:59.458Z","dependency_job_id":null,"html_url":"https://github.com/amaury1093/react-redux-auth0-kit","commit_stats":null,"previous_names":["amaury1729/react-redux-auth0-kit","amaurym/react-redux-auth0-kit","amaury1093/react-redux-auth0-kit"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amaury1093%2Freact-redux-auth0-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amaury1093%2Freact-redux-auth0-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amaury1093%2Freact-redux-auth0-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amaury1093%2Freact-redux-auth0-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amaury1093","download_url":"https://codeload.github.com/amaury1093/react-redux-auth0-kit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235683861,"owners_count":19029079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["auth0","authservice","babel","boilerplate","create-react-app","es6","eslint","live-reload","minimal","react","react-router","redux","test","webpack"],"created_at":"2024-09-25T17:05:42.123Z","updated_at":"2025-10-08T05:30:14.638Z","avatar_url":"https://github.com/amaury1093.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Redux Auth0 Kit\n\nMinimal starter boilerplate project with React, Redux, React Router and Auth0 authentication\n\n## Live demo\n\nA live demo of this project with a simple Facebook login via Auth0 is available here: https://react-redux-auth0.firebaseapp.com.\n\n## Getting started\n\nFirst [create an auth0 account](https://manage.auth0.com/). Then run the following commands. Make sure your `src/utils/config.js` file has the correct values from your auth0 account.\n\n```bash\n# Install dependencies\nnpm install\n\n# Copy configuration and replace with your own\ncp src/utils/config.example.js src/utils/config.js\n\n# Run\nnpm start\n```\n\nOpen `http://localhost:3000` to see the app running.\n\n## Features\n\n### Auth0\n\nAuth0 helps you to:\n\n* Add authentication with [multiple authentication sources](https://docs.auth0.com/identityproviders), either social like **Google, Facebook, Microsoft Account, LinkedIn, GitHub, Twitter, Box, Salesforce, among others**, or enterprise identity systems like **Windows Azure AD, Google Apps, Active Directory, ADFS or any SAML Identity Provider**.\n* Add authentication through more traditional **[username/password databases](https://docs.auth0.com/mysql-connection-tutorial)**.\n* Add support for **[linking different user accounts](https://docs.auth0.com/link-accounts)** with the same user.\n* Support for generating signed [Json Web Tokens](https://docs.auth0.com/jwt) to call your APIs and **flow the user identity** securely.\n* Analytics of how, when and where users are logging in.\n* Pull data from other sources and add it to the user profile, through [JavaScript rules](https://docs.auth0.com/rules).\n\n### AuthService\n\nThe library `auth0-lock` provides the user authentication, and I also have a `src/utils/AuthService.js` module to wrap this Lock Widget usage and manage the localStorage items.\n\nI'm using the latest Auth0 Lock 10 version in [popup mode](https://auth0.com/docs/libraries/lock/v11/authentication-modes#popup-mode), which means here's the flow:\n\n* -\u003eLogin widget shows login panel\n* -\u003eRedirect to auth0 to check login creds (done in hidden iframe)\n* -\u003eRedirect back to localhost:3000/callback (done in hidden iframe)\n* -\u003eAuthService waits for 'authenticated' event to fire\n* -\u003eRedirects back to homepage\n\n### Libraries\n\nThis starter kit is minimal, only the strict necessary is added.\n\n| Library                                                                   | Description                                                      |\n| ------------------------------------------------------------------------- | ---------------------------------------------------------------- |\n| [react](https://github.com/facebook/react)                                | Facebook's library for building user interfaces                  |\n| [redux](https://github.com/rackt/redux)                                   | State container for JavaScript apps                              |\n| [react-router](https://github.com/rackt/react-router)                     | Declarative routing for React apps using navigational components |\n| [create-react-app](https://github.com/facebookincubator/create-react-app) | All tooling needed for react apps                                |\n\nThe starter kit includes a working example app that puts all of the above to use.\n\n## Development\n\n`create-react-app` takes care of tooling, development server, live reload, building, testing.\n\nHMR is unfortunately not enabled during development, because `create-react-app` doesn't support it.\n\nIf you wish to directly use Webpack instead of `create-react-app`, you can eject any time by running `npm run eject`. Read [here](https://github.com/facebookincubator/create-react-app#converting-to-a-custom-setup) for more information about ejecting.\n\n## Testing\n\n`npm run lint` to check linting errors. This projects follows [`eslint-config-react-app`](https://github.com/facebookincubator/create-react-app/tree/master/packages/eslint-config-react-app) style.\n\n`npm test` to run all tests. This project uses jest to run tests, and [enzyme](https://github.com/airbnb/enzyme) for unit testing React components.\n\n## Deployment\n\nOut of the box, this starter kit is deployable by serving the `~/build` folder generated by `npm run build`.\n\n## License\n\nMIT. See LICENSE file.\n\n## Future ideas\n\n* [ ] Add a side effects library (`redux-saga`, `redux-observable`) to manage side effects. It makes the code more redux-compliant, however it goes against minimalism.\n* [ ] Any other ideas are welcome! Just post an issue.\n\n## Donations\n\nIf you like this project, I would really appreciate small donations. Here's my Ethereum address: 0xa395447BF15f7525484C0378c76627D45ADE0B96.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famaury1093%2Freact-redux-auth0-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famaury1093%2Freact-redux-auth0-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famaury1093%2Freact-redux-auth0-kit/lists"}