Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.97 KB

README.md

File metadata and controls

33 lines (25 loc) · 1.97 KB

Firebase - Angular.js Authentication Example

Check out the FireAuth example.

Usage

Go to Firebase and create a database, they also have free option plans, like the one I'm using for this example.

You can find out more about how to use firebase by reading Firebase Docs. Aftere you've created your firebase database, you can download this repo and test it locally.

Next: go into fireauth folder and in app.js set your own var firebaseUrl = "". Next: create your own github app at: New Github App If you're using it locally, make sure that your Homepage URL is set to http://localhost/fireauth/

I'm using github social login in this example but you can also use many other social logins with firebase. If you wanna know more about how to use and set these up visit: Firebase Docs

More about how to use Firebase - Github oAUth

To get started with GitHub authentication, you need to first create a new GitHub application. Click the Register new application button at the top right of that page and fill in a name, description, and website for your application. Set the Authorization callback URL to https://auth.firebase.com/v2/<YOUR-FIREBASE-APP>/auth/github/callback so that GitHub's OAuth service can properly communicate with Firebase's authentication server.

About

I've created this example while testing angular.js with firebase. Soon I'm planing to create more advanced and useful applications using angular.js with firebase. If you like this example, please star and share. If you have any questions, feel free to drop me a line at: [email protected] "# fireAuth"

Note :- This is Purely a copy of https://github.com/uloga/fireauth/ I just cloned and updated to my repository for some experimentation purposes ... Thanks to you uloga