{"id":13533417,"url":"https://github.com/dabit3/react-authentication-in-depth","last_synced_at":"2025-11-17T15:29:55.246Z","repository":{"id":66059754,"uuid":"124437855","full_name":"dabit3/react-authentication-in-depth","owner":"dabit3","description":"Example of User Authentication using React with React Router and AWS Amplify","archived":false,"fork":false,"pushed_at":"2018-03-23T20:48:21.000Z","size":742,"stargazers_count":61,"open_issues_count":1,"forks_count":14,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-12T12:19:26.902Z","etag":null,"topics":["authentication","react","react-authentication","react-router"],"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/dabit3.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}},"created_at":"2018-03-08T19:26:45.000Z","updated_at":"2024-12-03T20:46:09.000Z","dependencies_parsed_at":"2023-03-23T22:03:20.994Z","dependency_job_id":null,"html_url":"https://github.com/dabit3/react-authentication-in-depth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dabit3/react-authentication-in-depth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabit3%2Freact-authentication-in-depth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabit3%2Freact-authentication-in-depth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabit3%2Freact-authentication-in-depth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabit3%2Freact-authentication-in-depth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dabit3","download_url":"https://codeload.github.com/dabit3/react-authentication-in-depth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabit3%2Freact-authentication-in-depth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284911620,"owners_count":27083424,"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","status":"online","status_checked_at":"2025-11-17T02:00:06.431Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["authentication","react","react-authentication","react-router"],"created_at":"2024-08-01T07:01:19.670Z","updated_at":"2025-11-17T15:29:55.228Z","avatar_url":"https://github.com/dabit3.png","language":"JavaScript","funding_links":[],"categories":["Example Projects"],"sub_categories":["Other blogs \u0026 tutorials"],"readme":"# React Authentication Example\n\nThis repo goes along with the blog post React Authentication in Depth\n\n![Completed Project](https://github.com/dabit3/react-authentication-in-depth/blob/master/src/assets/authdemo.jpg?raw=true)\n\n\n## This project features:    \n- User sign up\n- User sign in\n- 2 factor authentication\n- Real world auth flow using React Router\n- Protected routes\n- Redirects for unauthorized users\n- TOTP    \n\n\n## Getting started    \n\n1. clone the project    \n\n```\ngit clone https://github.com/dabit3/react-authentication-in-depth.git\n```\n\n2. install dependencies using npm or yarn    \n\n```\nyarn || npm i\n```\n\n3. Start project    \n\n```\nnpm start\n```\n\n## Setting up AWS services    \nIf you do not have your AWS services already created, follow these steps. If you already have your services set up, just configure your aws-exports.js file.    \n\n1. from the root of the project, create awsmobile project    \n\n```\nawsmobile init\n```\n\n2. add user sign-in / authentication (Amazon Cognito)    \n\n```\nawsmobile user-signin enable\n```\n\n3. push new services to console    \n\n```\nawsmobile push\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdabit3%2Freact-authentication-in-depth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdabit3%2Freact-authentication-in-depth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdabit3%2Freact-authentication-in-depth/lists"}