https://github.com/auth0-samples/auth0-react-samples
Auth0 Integration Samples for React Applications
https://github.com/auth0-samples/auth0-react-samples
auth0 authentication dx-sdk-quickstart quickstart react spa
Last synced: 10 days ago
JSON representation
Auth0 Integration Samples for React Applications
- Host: GitHub
- URL: https://github.com/auth0-samples/auth0-react-samples
- Owner: auth0-samples
- License: mit
- Created: 2017-01-26T16:14:31.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2025-03-20T20:51:58.000Z (about 1 month ago)
- Last Synced: 2025-04-05T16:01:35.541Z (18 days ago)
- Topics: auth0, authentication, dx-sdk-quickstart, quickstart, react, spa
- Language: JavaScript
- Homepage: https://auth0.com/docs/quickstart/spa/react
- Size: 4.43 MB
- Stars: 940
- Watchers: 46
- Forks: 1,345
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Auth0 React Samples
[](https://circleci.com/gh/auth0-samples/auth0-react-samples)
This is the sample code for the [Auth0 React Quickstart](https://auth0.com/docs/quickstart/spa/react) using [auth0-react](https://github.com/auth0/auth0-react).
Please check out [the sample application](./Sample-01) for an example of how to integrate the Auth0 React SDK into your React applications.
## What is Auth0?
Auth0 helps you to:
* Add authentication with [multiple sources](https://auth0.com/docs/identityproviders), either social identity providers such as **Google, Facebook, Microsoft Account, LinkedIn, GitHub, Twitter, Box, Salesforce** (amongst 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](https://auth0.com/docs/connections/database/custom-db)**.
* Add support for **[linking different user accounts](https://auth0.com/docs/users/user-account-linking)** with the same user.
* Support for generating signed [JSON Web Tokens](https://auth0.com/docs/tokens/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](https://auth0.com/docs/rules).## Create a Free Auth0 Account
1. Go to [Auth0](https://auth0.com) and click **Sign Up**.
2. Use Google, GitHub, or Microsoft Account to login.## 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](https://auth0.com/responsible-disclosure-policy) details the procedure for disclosing security issues.
## Author
[Auth0](https://auth0.com)
## Deploy to Netlify
You can deploy this example as a site on your own to explore and experiment with, by clicking this button.
After deploy, install Auth0 by Okta extension in Netlify and follow the steps to create an App.## License
This project is licensed under the MIT license. See the [LICENSE](./LICENSE) file for more info.