{"id":20549673,"url":"https://github.com/pbakondy/fbauth","last_synced_at":"2026-04-15T22:35:23.711Z","repository":{"id":147424258,"uuid":"222787810","full_name":"pbakondy/fbauth","owner":"pbakondy","description":"Simple Google authentication with Angular Firebase","archived":false,"fork":false,"pushed_at":"2020-07-26T22:43:30.000Z","size":129,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T05:33:34.687Z","etag":null,"topics":["angular","firebase","gmail-login"],"latest_commit_sha":null,"homepage":null,"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/pbakondy.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":"2019-11-19T20:54:17.000Z","updated_at":"2021-05-15T22:10:56.000Z","dependencies_parsed_at":"2024-04-14T21:00:35.726Z","dependency_job_id":null,"html_url":"https://github.com/pbakondy/fbauth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pbakondy/fbauth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbakondy%2Ffbauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbakondy%2Ffbauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbakondy%2Ffbauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbakondy%2Ffbauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pbakondy","download_url":"https://codeload.github.com/pbakondy/fbauth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pbakondy%2Ffbauth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31863495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"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":["angular","firebase","gmail-login"],"created_at":"2024-11-16T02:19:28.779Z","updated_at":"2026-04-15T22:35:23.694Z","avatar_url":"https://github.com/pbakondy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Google authentication with Angular Firebase \n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.3.19.\n\n## Initial Firebase Setup\n\n- Open Firebase Console\n- Create a new Project\n- Navigate to Authentication / Sign-in method\n- Enable Google provider (only) \n\n## Build project\n\n```\nng new fbauth\ncd fbauth\n\nnpm install @angular/fire firebase --save\n\nng generate service services/auth\nng generate component components/index\nng generate component components/user-profile\nng generate guard guards/auth\n```\n\n- edit `app.module.ts` to initialize firebase settings\n- edit `app-routing.module.ts` to add routing rules\n- edit `user-profile.component.ts` and `user-profile.component.html` to setup Google login\n- edit `auth.guard.ts` to implement permission check for routes\n\n## Restrict by user\n\nGoogle authentication handles only the login process.\n\nYou can restrict access (authorization) only by Firebase access rules: Firebase Console / Database / Rules . \n\n## Resources\n\n- https://fireship.io/lessons/angularfire-google-oauth/\n- https://stackoverflow.com/a/28422909\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpbakondy%2Ffbauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpbakondy%2Ffbauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpbakondy%2Ffbauth/lists"}