{"id":13992120,"url":"https://github.com/googlearchive/firebase-simple-login","last_synced_at":"2026-03-14T06:35:30.354Z","repository":{"id":6898234,"uuid":"8148041","full_name":"googlearchive/firebase-simple-login","owner":"googlearchive","description":"Firebase Simple Login Web Client","archived":true,"fork":false,"pushed_at":"2018-08-24T22:15:42.000Z","size":12152,"stargazers_count":151,"open_issues_count":1,"forks_count":87,"subscribers_count":59,"default_branch":"master","last_synced_at":"2025-07-10T10:36:15.090Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.firebase.com/docs/security/simple-login-overview.html","language":"JavaScript","has_issues":false,"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/googlearchive.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.txt","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-02-11T22:11:47.000Z","updated_at":"2025-06-24T16:13:22.000Z","dependencies_parsed_at":"2022-08-31T00:22:34.237Z","dependency_job_id":null,"html_url":"https://github.com/googlearchive/firebase-simple-login","commit_stats":null,"previous_names":["firebase/firebase-simple-login"],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/googlearchive/firebase-simple-login","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlearchive%2Ffirebase-simple-login","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlearchive%2Ffirebase-simple-login/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlearchive%2Ffirebase-simple-login/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlearchive%2Ffirebase-simple-login/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/googlearchive","download_url":"https://codeload.github.com/googlearchive/firebase-simple-login/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlearchive%2Ffirebase-simple-login/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266520624,"owners_count":23942303,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":[],"created_at":"2024-08-09T14:01:48.256Z","updated_at":"2025-12-17T13:33:18.619Z","avatar_url":"https://github.com/googlearchive.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Status: Archived\nThis repository has been archived and is no longer maintained.\n\n![status: inactive](https://img.shields.io/badge/status-inactive-red.svg)\n\n# Firebase Simple Login - Web Client\n\n[![GitHub version](https://badge.fury.io/gh/firebase%2Ffirebase-simple-login.svg)](http://badge.fury.io/gh/firebase%2Ffirebase-simple-login)\n\nFirebase Simple Login is a simple, easy-to-use authentication service built on top of\n[Firebase Custom Login](https://www.firebase.com/docs/web/guide/simple-login/custom.html?utm_source=login-js),\nallowing you to authenticate users without any server-side code.\n\nFirebase Simple Login offers several types of authentication: email/password, anonymous, and\nthird-party integration with Facebook, GitHub, Google, and Twitter. It allows you to authenticate\nyour users without having to manually store authentication credentials or run a server.\n\n\n## Deprecation Warning!\n\nFirebase Simple Login is now a part of the core Firebase library. As a result, this standalone\nSimple Login client is being deprecated. We encourage everyone to upgrade to the latest version\nof the [Firebase Client](https://www.firebase.com/docs/web/) to get the latest and greatest\nfeatures. If you are still using this deprecated Simple Login client, [you can find\ndocumentation for it here](./docs/v1).\n\nYou can read more about this change [on our blog](https://www.firebase.com/blog/2014-10-03-major-updates-to-firebase-user-auth.html) and see the [updated login documentation](https://www.firebase.com/docs/web/guide/user-auth.html)\non our website. The updated documentation includes migration plans, but if you have any other\nquestions, please reach out to us through one of our [support channels](http://firebase.google.com/support).\n\n\n## Installation\n\nIn order to use Firebase Simple Login in your project, you need to include the following files\nin your HTML:\n\n```html\n\u003c!-- Firebase --\u003e\n\u003cscript src=\"https://cdn.firebase.com/js/client/1.0.21/firebase.js\"\u003e\u003c/script\u003e\n\n\u003c!-- Firebase Simple Login --\u003e\n\u003cscript src=\"https://cdn.firebase.com/js/simple-login/1.6.4/firebase-simple-login.js\"\u003e\u003c/script\u003e\n```\n\nUse the URL above to download both the minified (`firebase-simple-login.js`) and non-minified\n(`firebase-simple-login-debug.js`) versions of Firebase Simple Login from the Firebase CDN.\nYou can also download them from the\n[releases page of this GitHub repository](https://github.com/firebase/firebase-simple-login/releases).\n\nSimple Login's only dependency is the Firebase web client, which is also available on the Firebase\nCDN using the above URL. Alternatively, you can download the latest client version from the\n[Firebase developer documentation](https://www.firebase.com/docs/web/quickstart?utm_source=login-js).\n\nYou can also install Firebase Simple Login via Bower and its dependencies will be downloaded\nautomatically:\n\n```bash\n$ bower install firebase-simple-login --save\n```\n\n## Getting Started with Firebase\n\nFirebase Simple Login requires Firebase in order to authenticate your users. You can\n[sign up here for a free account](https://www.firebase.com/signup/?utm_source=login-js).\n\n\n## Documentation \u0026 API Reference\n\nYou can read through [the complete documentation](https://www.firebase.com/docs/web/guide/user-auth.html?utm_source=login-js)\nas well as [the full API reference](https://www.firebase.com/docs/web/api/firebasesimplelogin/?utm_source=login-js)\nin the Firebase developer documentation.\n\n\n## Configuration\n\nBefore adding authentication to your application, you need enable the authentication providers\nyou want to use. You can do this from the \"Simple Login\" tab in your Firebase's Dashboard, at\n`https://\u003cYOUR-FIREBASE\u003e.firebaseio.com`. From there you can enable/disable authentication\nproviders, setup OAuth credentials, and configure valid OAuth request origins.\n\nOur developer documentation contains more information about how to\n[configure each of the authentication providers](https://www.firebase.com/docs/web/guide/user-auth.html#section-providers?utm_source=login-js).\n\n\n## Usage\n\nStart monitoring user authentication state in your application by instantiating\nthe Firebase Simple Login client with a Firebase reference and a callback.\n\nThis `function(error, user)` callback will be invoked once after instantiation,\nand again every time the user's authentication state changes:\n\n```javascript\nvar ref = new Firebase('https://\u003cYOUR-FIREBASE\u003e.firebaseio.com');\nvar auth = new FirebaseSimpleLogin(ref, function(error, user) {\n  if (error) {\n    console.log('Authentication error: ', error);\n  } else if (user) {\n    console.log('User ' + user.id + ' authenticated via the ' + user.provider + ' provider!');\n  } else {\n    console.log(\"User is logged out.\")\n  }\n});\n```\n\nIf the user is logged out, try authenticating using the provider of your choice:\n\n```javascript\nauth.login('\u003cprovider\u003e'); // 'password', 'anonymous', 'facebook', 'github', etc.\n```\n\nYou can read through [the complete documentation](https://www.firebase.com/docs/web/guide/user-auth.html?utm_source=login-js)\nas well as [the full API reference](https://www.firebase.com/docs/web/api/firebasesimplelogin/?utm_source=login-js)\nin the Firebase developer documentation.\n\n\n## Contributing\n\nFirebase Simple Login is an open-source project and we welcome contributions to the library.\nPlease read the [Contribution Guidelines](./CONTRIBUTING.md) in addition to following the steps\nbelow.\n\nIf you'd like to contribute to Firebase Simple Login, you'll need to run the following commands\nto get your environment set up:\n\n```bash\n$ git clone https://github.com/firebase/firebase-simple-login.git\n$ cd firebase-simple-login           # go to the firebase-simple-login directory\n$ git submodule update --init lib/   # update the Google Closure library submodule\n$ npm install -g grunt-cli           # globally install gulp task runner\n$ npm install -g bower               # globally install Bower package manager\n$ npm install -g phantomjs           # globally install PhantomJS test framework\n$ npm install -g casperjs            # globally install CasperJS test framework\n$ npm install                        # install local npm build / test dependencies\n$ bower install                      # install local JavaScript dependencies\n```\n\nThe source files are located at `/js/src/simple-login/`. Once you've made a change in one of\nthose files, run `grunt build` to generate the distribution files - `firebase-simple-login.js`\nand `firebase-simple-login-debug.js` - which are written to the root directory.\n\nYou can run the test suite via the command line by running `grunt test`. This will run both\nthe Jasmine and Casper test suites. If you just want to run one, use `grunt test:jasmine` or\n`grunt test:casper`.\n\nYou can also run the Jasmine test suite from within the browser. You first need to spin up a\nlocal server:\n\n```bash\n$ python -m SimpleHTTPServer 7070\n```\n\nThen, navigate to `http://localhost:7070/js/test/jasmine/index.html` and the test suite will\nstart automatically.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglearchive%2Ffirebase-simple-login","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgooglearchive%2Ffirebase-simple-login","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglearchive%2Ffirebase-simple-login/lists"}