{"id":20383497,"url":"https://github.com/smerth/securing-react-applications-with-auth0","last_synced_at":"2026-04-14T10:31:44.989Z","repository":{"id":42106410,"uuid":"165295553","full_name":"smerth/securing-react-applications-with-auth0","owner":"smerth","description":"How to set up 0Auth authentication using JWT tokens and Auth0 as a service for an ExpressJS server and ReactJS Client","archived":false,"fork":false,"pushed_at":"2022-12-07T20:57:43.000Z","size":2897,"stargazers_count":0,"open_issues_count":33,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-04T22:44:42.276Z","etag":null,"topics":["auth0","axios","create-react-app","express-js","json-web-token","react"],"latest_commit_sha":null,"homepage":"","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/smerth.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}},"created_at":"2019-01-11T19:07:21.000Z","updated_at":"2022-06-17T16:45:38.000Z","dependencies_parsed_at":"2023-01-24T22:15:48.229Z","dependency_job_id":null,"html_url":"https://github.com/smerth/securing-react-applications-with-auth0","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/smerth/securing-react-applications-with-auth0","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smerth%2Fsecuring-react-applications-with-auth0","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smerth%2Fsecuring-react-applications-with-auth0/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smerth%2Fsecuring-react-applications-with-auth0/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smerth%2Fsecuring-react-applications-with-auth0/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smerth","download_url":"https://codeload.github.com/smerth/securing-react-applications-with-auth0/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smerth%2Fsecuring-react-applications-with-auth0/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31793212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","axios","create-react-app","express-js","json-web-token","react"],"created_at":"2024-11-15T02:23:08.486Z","updated_at":"2026-04-14T10:31:44.975Z","avatar_url":"https://github.com/smerth.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React - Securing Applications with Auth0\n\nThis project demonstrates how to set up 0Auth authentication with the Auth0 service. The app is comprised of an ExpressJS server which makes use of JWT to manage authentication tokens. The client implements Auth0 session authentication.\n\n![App Screenshot](https://raw.githubusercontent.com/smerth/securing-react-applications-with-auth0/master/screenshot.png)\n\n## Setup and installation\n\n### App and dependancies\n\n- clone the repository\n- install server dependancies\n\n```bash\nyarn install\n```\n\n- install client dependancies\n\n```bash\nyarn install\n```\n\n### Secrets\n\nTo authenticate with Auth0 you will need to set up an account. You will need to copy you credentials into the Auth folder\n\n@ src/Auth/ create file:\n\n```bash\ntouch auth0-variables.js\n```\n\nAdd a variables object:\n@ src/Auth/auth0-variables\n\n```javascript\nexport const AUTH_CONFIG = {\n  domain: \"YOUR-DOMAIN\",\n  clientId: \"YOUR-CLIENT-ID\",\n  callbackUrl: \"YOUR-CALLBACK-URL\",\n  apiUrk: \"YOUR-API-URK\"\n};\n```\n\n## Run Server and Client\n\n```bash\nyarn start\n```\n\n## Build Notes\n\nSee the docs folder for notes about building the server and app.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmerth%2Fsecuring-react-applications-with-auth0","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmerth%2Fsecuring-react-applications-with-auth0","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmerth%2Fsecuring-react-applications-with-auth0/lists"}