feat(oauth): 支持linux.do登录 (#280)

* 支持linux.do登录

* 修正
This commit is contained in:
puyujian
2025-06-15 15:32:20 +08:00
committed by GitHub
parent 4ba805ac5f
commit bf39a29e6c
4 changed files with 58 additions and 1 deletions

View File

@@ -18,3 +18,9 @@ type OidcOauth struct {
ClientSecret string `mapstructure:"client-secret"`
RedirectUrl string `mapstructure:"redirect-url"`
}
type LinuxdoOauth struct {
ClientId string `mapstructure:"client-id"`
ClientSecret string `mapstructure:"client-secret"`
RedirectUrl string `mapstructure:"redirect-url"`
}