Niels-Be / Coffee-light

7 stars 3 forks source link

Login method #6

Open Niels-Be opened 7 years ago

Niels-Be commented 7 years ago

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.

Peter42 commented 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.

Niels-Be commented 7 years ago

Using anonymous firebase login for now

bantu commented 6 years ago

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.