huggingface / chat-ui

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

Openid authentication and roles #826

Open pacharlier opened 7 months ago

pacharlier commented 7 months ago

Hello Guys,

I really enjoy use this chat and I integrated it.

I would like to know if it is planed to integrate role feature with openid authentication ?

Regards,

nsarrazin commented 7 months ago

Hi! Do you have an example of a use case for the feature? :eyes:

dmahlow commented 5 months ago

I can give an example: only certain users in an org should be allowed to connect to the ChatUI. Those users are part of a certain AD role (e.g. genai), anyone else should be rejected after SSO.