{"id":39447501,"url":"https://github.com/mikcsabee/auth-emulator-example","last_synced_at":"2026-01-18T04:26:11.348Z","repository":{"id":162857718,"uuid":"637348820","full_name":"mikcsabee/auth-emulator-example","owner":"mikcsabee","description":"Example Firebase Emulator Authentication","archived":false,"fork":false,"pushed_at":"2025-12-30T20:13:17.000Z","size":2749,"stargazers_count":4,"open_issues_count":39,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T18:26:05.913Z","etag":null,"topics":["firebase","firebase-auth","firebase-emulator","newman","postman","postman-collection"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikcsabee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-05-07T09:28:18.000Z","updated_at":"2025-12-15T09:59:00.000Z","dependencies_parsed_at":"2025-12-31T07:02:30.674Z","dependency_job_id":null,"html_url":"https://github.com/mikcsabee/auth-emulator-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mikcsabee/auth-emulator-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikcsabee%2Fauth-emulator-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikcsabee%2Fauth-emulator-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikcsabee%2Fauth-emulator-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikcsabee%2Fauth-emulator-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikcsabee","download_url":"https://codeload.github.com/mikcsabee/auth-emulator-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikcsabee%2Fauth-emulator-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28529545,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"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":["firebase","firebase-auth","firebase-emulator","newman","postman","postman-collection"],"created_at":"2026-01-18T04:26:10.728Z","updated_at":"2026-01-18T04:26:11.341Z","avatar_url":"https://github.com/mikcsabee.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Firebase Authentication in Emulator Example\n===========================================\n\nThis repository shows an example, of how to automatically create a valid `idToken` in Postman, before requests and use it as a bearer token.\n\nThe attached `PostmanCollection.json` executes a script which invokes the emulated Authenticatior api to create a user. The script is also available here: `postman/src/pre-request_script.ts`.\n\nWhen you import the `PostmanCollection.json` into your Postman workspace you need to set the `apiKey`. (In order to have an `apiKey`, you need to create an `App` in Firebase).\n\n![Postman variables](doc/postman_1.png)\n\nYou also need to generate and download the `serviceAccountKey.json` to the functions folder from the `Project settings`, `Service accounts` tab.\n\n\nAfter this to setps, you should be able to run the `HelloWorld` method, which validates the token and returns the user data.\n\n\n![Postman HelloWorld](doc/postman_2.png)\n\nThe created user should be visible in the [Emulator UI](http://localhost:4000/auth).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikcsabee%2Fauth-emulator-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikcsabee%2Fauth-emulator-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikcsabee%2Fauth-emulator-example/lists"}