Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random Questions #78

Open
cyprusglobe opened this issue May 28, 2014 · 2 comments
Open

Random Questions #78

cyprusglobe opened this issue May 28, 2014 · 2 comments

Comments

@cyprusglobe
Copy link

wondering if you can use this with firebase simple auth
https://www.firebase.com/docs/security/simple-login-email-password.html

https://www.firebase.com/docs/security/simple-login-overview.html

Thanks

@fnakstad
Copy link
Owner

I haven't tried, but I doubt you can use it with the solution as it presently is in the repo. You need to be able to tweak some of the server-side code to set the user cookie, and from what I can tell you can't do that using this API...

Perhaps you can make it work if you suspend bootstrapping of your Angular app while you fire off an AJAX request to Firebase requesting the current logged in user (as a replacement for the server-side cookie). Then when it responds and you know the user's login status you can bootstrap your Angular application in the callback to the AJAX request.

I'll try to do an experiment on this if I get some more time on my hands :)

@cyprusglobe
Copy link
Author

Thanks,

@fnakstad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants