13 Commits

Author SHA1 Message Date
lejianwen
07dfba9d59 fix: The callback URL is based on the configured API SERVER because the project might be behind an Nginx reverse proxy. If the Origin/Host is forgotten to configure the reverse proxy, it will be incorrect 2025-08-10 15:48:11 +08:00
k3-cat
73a8461a2d feat: Improve oauth redirect (#303)
* fix: redirects after oauth can potentially misalign with server's actually hostname

* feat: remove `RedirectURL` from oauth config, as it should checked by provider rather than client

* feat: align oauth endpoint with the hostname in requests
2025-07-04 14:30:07 +08:00
puyujian
bf39a29e6c feat(oauth): 支持linux.do登录 (#280)
* 支持linux.do登录

* 修正
2025-06-15 15:32:20 +08:00
Tao Chen
6f55c5b642 feat(oidc): add pkce (#150) 2025-02-19 09:31:25 +08:00
ljw
daeae19194 up oauth re 2024-11-05 11:48:35 +08:00
Tao Chen
3acfb36c5d modify google ro re-use oidc 2024-11-04 21:30:58 +08:00
Tao Chen
9dfe745629 fix google 2024-11-03 18:04:28 +08:00
Tao Chen
fea3960672 fix: Github AvatarUrl to OauthUser 2024-11-03 16:49:28 +08:00
Tao Chen
64f28c17d8 add Avatar to OauthUser 2024-11-03 05:33:59 +08:00
Tao Chen
6698877761 fix: email from github 2024-11-03 05:11:31 +08:00
Tao Chen
485ae54e9e re-construct oauth 2024-11-02 04:01:28 +08:00
Tao Chen
4105f14a3f try add oidc 2024-10-29 11:51:01 +08:00
ljw
a4b413dadb add oauth loginlog & fix bugs 2024-09-19 10:44:49 +08:00