{"id":16111233,"url":"https://github.com/vergissberlin/firebase-login-custom","last_synced_at":"2026-03-17T01:12:18.961Z","repository":{"id":26700027,"uuid":"30157073","full_name":"vergissberlin/firebase-login-custom","owner":"vergissberlin","description":"This package is a wrapper to Firebase custom login including all dependencies with the exception of firebase it self.","archived":false,"fork":false,"pushed_at":"2023-12-15T14:40:07.000Z","size":77,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T21:37:02.377Z","etag":null,"topics":["firebase"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/firebase-login-custom","language":"JavaScript","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/vergissberlin.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}},"created_at":"2015-02-01T19:36:36.000Z","updated_at":"2019-01-07T23:48:14.000Z","dependencies_parsed_at":"2024-10-09T19:41:00.985Z","dependency_job_id":null,"html_url":"https://github.com/vergissberlin/firebase-login-custom","commit_stats":{"total_commits":17,"total_committers":4,"mean_commits":4.25,"dds":0.4117647058823529,"last_synced_commit":"a350f24f583afedba5705a54faee9db6c0481afa"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vergissberlin%2Ffirebase-login-custom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vergissberlin%2Ffirebase-login-custom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vergissberlin%2Ffirebase-login-custom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vergissberlin%2Ffirebase-login-custom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vergissberlin","download_url":"https://codeload.github.com/vergissberlin/firebase-login-custom/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247694893,"owners_count":20980731,"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","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"],"created_at":"2024-10-09T19:40:55.919Z","updated_at":"2025-10-23T23:40:02.287Z","avatar_url":"https://github.com/vergissberlin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"firebase-login-custom\n=====================\n\n[![Build Status](https://travis-ci.org/vergissberlin/firebase-login-custom.svg)](https://travis-ci.org/vergissberlin/firebase-login-custom)\n[![Dependency Status](https://gemnasium.com/vergissberlin/firebase-login-custom.svg)](https://gemnasium.com/vergissberlin/firebase-login-custom)\n[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/vergissberlin/firebase-login-custom?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge)\n[![Issues](http://img.shields.io/github/issues/vergissberlin/firebase-login-custom.svg)]( https://github.com/vergissberlin/firebase-login-custom/issues \"GitHub ticket system\")\n[![npm version](https://img.shields.io/npm/v/firebase-login-custom.png)](https://npmjs.org/package/firebase-login-custom \"View this project on npm\")\n\n\nAuthenticating Users with Email \u0026 Password\n------------------------------------------\n\nTo authenticate a user using [Custom Login](https://www.firebase.com/docs/web/guide/login/custom.html),\nwe must provide each client with a secure JWT that has been generated on a server.\nWe provide several helper libraries for generating JWTs.\nUse a Firebase Secret to generate these tokens. Firebase Secrets can be found by logging into the\nFirebase account and clicking on the Security tab in the Firebase Dashboard.\n\nThis package is a wrapper to Firebase custom login including all dependencies\nwith the exception of firebase it self.\n\nMore information your can find [here](https://www.firebase.com/docs/web/guide/login/custom.html).\n\nInstallation\n------------\n\nInstall via npm:\n\n```bash\n    npm install firebase firebase-login-custom\n```\n\nExample\n-------\n\n```javascript\n\n    var ref = new Firebase('https://\u003cYour Firebase\u003e.firebaseio.com');\n\n    FirebaseLoginCustom(firebaseRef, {\n            uid: \u003cYour id\u003e\n        },\n        {\n            secret: \u003cYour secret\u003e,\n        },\n        function (error, data) {\n            if (error !== null) {\n                console.log(error);\n            } else {\n                console.log(data.token);\n            }\n        }\n    );\n```\n\nIssues\n------\n\nPlease report issues to [ticket system](https://github.com/vergissberlin/firebase-login-custom/issues).\nPull requests are welcome here!\n\n\nContributing\n------------\n\n1. Fork it\n2. Create your feature branch (`git flow feature start my-new-feature`)\n3. Commit your changes (`git commit -am 'Add code'`)\n4. Finish your implementation (`git flow feature finish my-new-feature`)\n4. Push to origin (`git push origin`)\n5. Create new Pull Request\n\nInstall locally\n---------------\n\n```bash\n$ cd /path/to/firebase-login-email/\n$ npm install\n$ export FIREBASE_ID=\u003cYOUR_TEST_ID\u003e\n$ export FIREBASE_SECRET=\u003c123456abcdefg\u003e\n$ node tests/integration/firebase-login-custom-integration-child.js\n$ node tests/integration/firebase-login-custom-integration-simple.js\n$ node tests/integration/firebase-login-custom-integration-unique.js\n```\n\n\u003ca name=\"thanks\"\u003e\u003c/a\u003e\nThanks to\n---------\n1. A special thanks to the developers of **NodeJS** and **Firebase**.\n\n\n----\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/vergissberlin/firebase-login-custom/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\") [![Greenkeeper badge](https://badges.greenkeeper.io/vergissberlin/firebase-login-custom.svg)](https://greenkeeper.io/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvergissberlin%2Ffirebase-login-custom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvergissberlin%2Ffirebase-login-custom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvergissberlin%2Ffirebase-login-custom/lists"}