{"id":15879962,"url":"https://github.com/sydrawat01/auth","last_synced_at":"2026-04-17T07:33:25.084Z","repository":{"id":108700206,"uuid":"366085967","full_name":"sydrawat01/auth","owner":"sydrawat01","description":"Authentication with Firebase REST API and Redux Toolkit.","archived":false,"fork":false,"pushed_at":"2021-05-21T14:52:58.000Z","size":242,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-02T05:16:49.762Z","etag":null,"topics":["auth","firebase","redux","redux-toolkit","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/sydrawat01.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":"2021-05-10T15:14:54.000Z","updated_at":"2023-10-03T18:27:50.000Z","dependencies_parsed_at":"2023-05-05T07:34:37.170Z","dependency_job_id":null,"html_url":"https://github.com/sydrawat01/auth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sydrawat01/auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sydrawat01%2Fauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sydrawat01%2Fauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sydrawat01%2Fauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sydrawat01%2Fauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sydrawat01","download_url":"https://codeload.github.com/sydrawat01/auth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sydrawat01%2Fauth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31920174,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"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":["auth","firebase","redux","redux-toolkit","typescript"],"created_at":"2024-10-06T03:06:40.816Z","updated_at":"2026-04-17T07:33:25.057Z","avatar_url":"https://github.com/sydrawat01.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Auth with Firebase\n\nBasic auth with [Firebase Auth REST API](https://firebase.google.com/docs/reference/rest/auth).\n\nUsing [Redux Toolkit](https://redux-toolkit.js.org/) for global state management.\n\n## `.env` file\n\nReact apps initialized using `create-react-app` have `.dotenv` pacgkage built in, and need to have the `REACT_APP` prefix to the environment variables. More about these [here](https://create-react-app.dev/docs/adding-custom-environment-variables/).\n\nTo access these .env variables, use `process.env.\u003cvariable_name\u003e`.\n\nHere's an example of what the `.env` file looks like:\n\n```js\nREACT_APP_API_KEY = 'YOUR_API_KEY';\n\nREACT_APP_SIGN_UP =\n  'https://identitytoolkit.googleapis.com/v1/accounts:signUp?key=${REACT_APP_API_KEY}';\nREACT_APP_SIGN_IN =\n  'https://identitytoolkit.googleapis.com/v1/accounts:signInWithPassword?key=${REACT_APP_API_KEY}';\nREACT_APP_CHANGE_PWD =\n  'https://identitytoolkit.googleapis.com/v1/accounts:update?key=${REACT_APP_API_KEY}';\n```\n\n## TODO\n\n- [x] Use the `Modal` to display error messages.\n- [x] [Fix Memory Leak Bug](https://github.com/sydrawat/auth/issues/1).\n- [ ] Add auto logout based on the expiration time [`expiresIn` property from the response payload].\n- [x] Migrate app to use Redux Toolkit with TypeScript.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsydrawat01%2Fauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsydrawat01%2Fauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsydrawat01%2Fauth/lists"}