Open Niels-Be opened 7 years ago
As we're already using Firebase, we could use it's Auth capabilities: https://github.com/firebase/firebaseui-web It supports Google, Facebook, Twitter, Github, 'Email and password' and custom OAuth.
But I haven't looked at it in detail yet.
Using anonymous firebase login for now
Initially I was considering using the existing Single Sign On Certificate Infrastructure. Hardware devices (https://github.com/WaeCo/Coffee-light/tree/master/hardware) probably can not use that, though.
We need some kind of login method.
My ideas: Either integrate with an OAuth provider or store a token in
localStorage
that manually can be exchanged.