support OIDC authentication (#242)

This commit is contained in:
MaysWind
2025-10-24 01:44:55 +08:00
parent d3ab2b94b7
commit 85b05f9e7e
24 changed files with 490 additions and 202 deletions
+4 -2
View File
@@ -8,8 +8,10 @@ type OAuth2LoginRequest struct {
// OAuth2CallbackRequest represents all parameters of OAuth 2.0 callback request
type OAuth2CallbackRequest struct {
State string `form:"state"`
Code string `form:"code"`
State string `form:"state"`
Code string `form:"code"`
Error string `form:"error"`
ErrorDescription string `form:"error_description"`
}
// OAuth2CallbackLoginRequest represents all parameters of OAuth 2.0 callback login request