* 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 |
||
---|---|---|
.. | ||
air | ||
berry | ||
build | ||
default | ||
build.sh | ||
README.md | ||
THEMES |
One API 的前端界面
每个文件夹代表一个主题,欢迎提交你的主题
Warning
不是每一个主题都及时同步了所有功能,由于精力有限,优先更新默认主题,其他主题欢迎 & 期待 PR
提交新的主题
欢迎在页面底部保留你和 One API 的版权信息以及指向链接
- 在
web
文件夹下新建一个文件夹,文件夹名为主题名。 - 把你的主题文件放到这个文件夹下。
- 修改你的
package.json
文件,把build
命令改为:"build": "react-scripts build && mv -f build ../build/default"
,其中default
为你的主题名。 - 修改
common/config/config.go
中的ValidThemes
,把你的主题名称注册进去。 - 修改
web/THEMES
文件,这里也需要同步修改。
主题列表
主题:default
默认主题,由 JustSong 开发。
预览:
主题:berry
由 MartialBE 开发。
预览:
主题:air
由 Calon 开发。