OpenCSGs / CSGHub

CSGHub is an opensource large model assets platform just like on-premise huggingface which helps to manage datasets, model files, codes and more. CSGHub是一个开源、可信的大模型资产管理平台,可帮助用户治理LLM和LLM应用生命周期中涉及到的资产(数据集、模型文件、代码等)。CSGHub提供类似私有化的Huggingface功能,以类似OpenStack Glance管理虚拟机镜像、Harbor管理容器镜像以及Sonatype Nexus管理制品的方式,实现对LLM资产的管理。欢迎关注反馈和Star⭐️
https://opencsg.com/models
Apache License 2.0
1.55k stars 205 forks source link

Add User System CN Docs #235

Closed jasonhe258 closed 4 weeks ago

jasonhe258 commented 4 weeks ago

Add User System CN Docs, as following:

#### OIDC 配置
你所需要的 OIDC 相关的配置项如下:
1. 用于建立 OIDC connection
  - identifier: 客户端ID
  - secret:客户端密钥
  - authorization_endpoint: 授权接口
  - token_endpoint: 获取 access token 接口
  - userinfo_endpoint: 获取用户信息接口
  - redirect_uri: callback url
2. 用于登录注册
  - login_url: OIDC 登录入口
  - signup_url: OIDC 注册入口

可以通过两种方式提供 OIDC 配置项
1. 通过环境变量
- OIDC_IDENTIFIER
- OIDC_SECRET
- OIDC_REDIRECT_URI
- OIDC_AUTHORIZATION_ENDPOINT
- OIDC_TOKEN_ENDPOINT
- OIDC_USERINFO_ENDPOINT
- LOGIN_URL
- SIGNUP_URL
2. 通过管理员后台进行系统设置
jasonhe258 commented 4 weeks ago

@hiveer Would you please take a look? Great thanks!

hiveer commented 4 weeks ago

@hiveer Would you please take a look? Great thanks!

It looks great, thanks for the contribution!