{"id":18594899,"url":"https://github.com/sethbergman/react-auth-multi","last_synced_at":"2026-04-13T00:43:14.494Z","repository":{"id":69157494,"uuid":"106857785","full_name":"sethbergman/react-auth-multi","owner":"sethbergman","description":null,"archived":false,"fork":false,"pushed_at":"2018-03-09T06:23:29.000Z","size":87,"stargazers_count":1,"open_issues_count":9,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T20:48:29.628Z","etag":null,"topics":["api-gateway","auth0","axios","cors","create-react-app","express","jwt-authentication","react"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sethbergman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-13T18:09:32.000Z","updated_at":"2017-10-16T20:38:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"f90e1032-bcfb-4813-a63a-91f37d68ed5b","html_url":"https://github.com/sethbergman/react-auth-multi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sethbergman%2Freact-auth-multi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sethbergman%2Freact-auth-multi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sethbergman%2Freact-auth-multi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sethbergman%2Freact-auth-multi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sethbergman","download_url":"https://codeload.github.com/sethbergman/react-auth-multi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254527096,"owners_count":22085919,"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":["api-gateway","auth0","axios","cors","create-react-app","express","jwt-authentication","react"],"created_at":"2024-11-07T01:17:33.137Z","updated_at":"2026-04-13T00:43:09.450Z","avatar_url":"https://github.com/sethbergman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Auth Multi\n\nThis sample demonstrates how to silently renew `access_token`s in a React application with Auth0. The sample uses the create-react-app.\n\n## Getting Started\n\nCreate a new API in the [APIs section](https://manage.auth0.com/#/apis) and provide an identifier for it.\n\nClone the repo or download it from the React quickstart page in Auth0's documentation. Install create-react-app and the dependencies for the app.\n\n```bash\nnpm install -g create-react-app\nnpm install\n```\n\n## Set the Client ID, Domain, and API URL\n\nIf you download the sample from the quickstart page, it will come pre-populated with the **client ID** and **domain** for your application. If you clone the repo directly from Github, rename the `auth0-variables.js.example` file to `auth0-variables.js` and provide the **client ID** and **domain** there. This file is located in `src/Auth/`.\n\nYou should also provide the identifier for the API you create in the Auth0 dashboard as your `apiUrl`.\n\n## Set Up the `silent.html` File\n\nIf you download the sample from the quickstart page, it will come pre-populated with the **client ID** and **domain** for your application. If you clone the repo directly from Github, edit `silent.html` and add your **client ID** and **domain**.\n\n## Run the Application\n\nThe development server that comes with create-react-app can be used to serve the application.\n\n```bash\nnpm start\n```\n\nThe application will be served at `http://localhost:3000`.\n\n## Troubleshooting\nIf you see an error on renewal saying `login_required`, that means you may be using the Auth0 dev keys for whichever social login you're testing. You'll need to add your own keys for this to work.\n\n## What is 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, amont 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## Create a free Auth0 account\n\n1. Go to [Auth0](https://auth0.com/signup) and click Sign Up.\n2. Use Google, GitHub or Microsoft Account to login.\n\n## Issue Reporting\n\nIf 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/whitehat) details the procedure for disclosing security issues.\n\n## Author\n\n[Auth0](auth0.com)\n\n## License\n\nThis project is licensed under the MIT license. See the [LICENSE](LICENSE.txt) file for more info.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsethbergman%2Freact-auth-multi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsethbergman%2Freact-auth-multi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsethbergman%2Freact-auth-multi/lists"}