eac039bba4
- Introduced OIDC configuration options in config.example.yaml. - Added OIDC client initialization and routes for OIDC login, callback, and exchange. - Implemented OIDC login service to handle user authentication via OIDC. - Created frontend components for OIDC login and callback handling. - Updated user creation logic to support OIDC users and their identities. - Enhanced error handling for OIDC login processes.
15 lines
254 B
Go
15 lines
254 B
Go
package request
|
|
|
|
type LoginRequest struct {
|
|
Username string `json:"username"`
|
|
Password string `json:"password"`
|
|
}
|
|
|
|
type WxWorkExchangeRequest struct {
|
|
Ticket string `json:"ticket"`
|
|
}
|
|
|
|
type OIDCExchangeRequest struct {
|
|
Ticket string `json:"ticket"`
|
|
}
|