store oauth 2.0 user info in token context instead of being passed through frontend parameters
This commit is contained in:
@@ -14,6 +14,5 @@ type OAuth2CallbackRequest struct {
|
||||
|
||||
// OAuth2CallbackLoginRequest represents all parameters of OAuth 2.0 callback login request
|
||||
type OAuth2CallbackLoginRequest struct {
|
||||
Provider string `json:"provider" binding:"required,notBlank"`
|
||||
Password string `json:"password" binding:"omitempty,min=6,max=128"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user