ai-gateway/controller
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
..
auth feat: add oidc support (#1725) 2024-09-21 23:03:20 +08:00
billing.go fix: getTokenById return token nil, make panic (#1728) 2024-09-21 23:00:29 +08:00
channel-billing.go feat: support user content download proxy & relay proxy now 2024-05-29 01:14:00 +08:00
channel-test.go feat: support test specific model (#1600) 2024-07-05 18:05:16 +08:00
channel.go feat: able to only test disabled channels (#1090) 2024-03-10 18:34:57 +08:00
group.go chore: reorganize billing related package 2024-04-06 01:26:48 +08:00
log.go chore: do not hardcode context key 2024-04-21 19:43:23 +08:00
misc.go feat: add oidc support (#1725) 2024-09-21 23:03:20 +08:00
model.go chore: do not hardcode context key 2024-04-21 19:43:23 +08:00
option.go chore: update module name 2024-01-28 19:38:58 +08:00
redemption.go chore: do not hardcode context key 2024-04-21 19:43:23 +08:00
relay.go feat: add Proxy channel type and relay mode (#1678) 2024-07-22 22:51:19 +08:00
token.go chore: do not hardcode context key 2024-04-21 19:43:23 +08:00
user.go fix: fix default token not created in some cases (#1510) 2024-06-13 00:20:48 +08:00