ai-gateway/common
OnEvent 99c8c77504
feat: add oidc support (#1725)
* feat: add the ui for configuring the third-party standard OAuth2.0/OIDC.

- update SystemSetting.js
- add setup ui
- add configuration

* feat: add the ui for "allow the OAuth 2.0 to login"

- update SystemSetting.js

* feat: add OAuth 2.0 web ui and its process functions

- update common.js
- update AuthLogin.js
- update config.js

* fix: missing "Userinfo" endpoint configuration entry, used by OAuth clients to request user information from the IdP.

- update config.js
- update SystemSetting.js

* feat: updated the icons for Lark and OIDC to match the style of the icons for WeChat, EMail, GitHub.

- update lark.svg
- new oidc.svg

* refactor: Changing OAuth 2.0 to OIDC

* feat: add OIDC login method

* feat: Add support for OIDC login to the backend

* fix: Change the AppId and AppSecret on the Web UI to the standard usage: ClientId, ClientSecret.

* feat: Support quick configuration of OIDC through Well-Known Discovery Endpoint

* feat: Standardize terminology, add well-known configuration

- Change the AppId and AppSecret on the Server End to the standard usage: ClientId, ClientSecret.
- add Well-Known configuration to store in database, no actual use in server end but store and display in web ui only
2024-09-21 23:03:20 +08:00
..
blacklist fix: add user to blacklist when it's banned or deleted, and make deletion soft (close #473, close #791) 2024-03-10 15:56:19 +08:00
client feat: support user content download proxy & relay proxy now 2024-05-29 01:14:00 +08:00
config feat: add oidc support (#1725) 2024-09-21 23:03:20 +08:00
conv feat: support function call for ali (close #1242) 2024-03-30 10:43:26 +08:00
ctxkey refactor: replace hardcoded string with ctxkey constant (#1579) 2024-06-30 16:13:43 +08:00
env fix: fix baidu system prompt (close #1079) 2024-03-13 22:56:54 +08:00
helper feat: support cloudflare now 2024-04-26 23:05:48 +08:00
image fix: fix ut 2024-06-23 13:48:52 +08:00
logger feat: support one or more log file (#1400) 2024-07-03 20:53:29 +08:00
message feat: support smtp without auth (#1101) 2024-07-03 22:23:49 +08:00
network feat: able to set multiple subnets 2024-04-05 17:25:28 +08:00
random chore: reorganize helper related package 2024-04-06 01:02:35 +08:00
render refactor: abusing goroutines and channel (#1561) 2024-06-30 18:36:33 +08:00
constants.go chore: reorganize common package 2024-04-06 02:03:59 +08:00
crypto.go Initial commit 2023-04-22 20:39:27 +08:00
custom-event.go refactor: rename file to conform to standards 2023-05-13 15:43:55 +08:00
database.go fix: fix baidu system prompt (close #1079) 2024-03-13 22:56:54 +08:00
embed-file-system.go feat: Handle errors, validate model names, and calculate quota usage (#978) 2024-02-12 21:35:40 +08:00
gin.go refactor: replace hardcoded string with ctxkey constant (#1579) 2024-06-30 16:13:43 +08:00
init.go fix: fix ut 2024-06-23 15:14:39 +08:00
rate-limit.go Initial commit 2023-04-22 20:39:27 +08:00
redis.go chore: update module name 2024-01-28 19:38:58 +08:00
utils.go fix: make quota int64 2024-03-13 20:00:51 +08:00
validate.go Initial commit 2023-04-22 20:39:27 +08:00
verification.go Initial commit 2023-04-22 20:39:27 +08:00