huggingface / chat-ui

Open source codebase powering the HuggingChat app
https://huggingface.co/chat
Apache License 2.0
6.73k stars 940 forks source link

Feature Request: Add Firebase Authentication #1287

Open Stelath opened 2 weeks ago

Stelath commented 2 weeks ago

Hello, I was wondering how complicated it would be to add the ability to link this to a firebase app and then utilize firebase's auth service instead of the OpenID login? Thanks for any help and if this became a feature that would be awesome!

nsarrazin commented 1 week ago

Not sure this is something we want to tackle, as it would be nice to remain agnostic on the backend side. If there's strong demand maybe but so far most people manage with OpenID I think :eyes:

Stelath commented 1 week ago

@nsarrazin Fair enough, I managed to hack together a reasonable solution for my case with Firebase, though as you said it destroyed the OpenID backend otherwise I would PR it.

** I'm sure there's a way to do it that would keep both working just fine, I just was short on time and didn't need the OpenID