Merge branch 'feature-userinfo-daiyb' into dev

This commit is contained in:
戴育兵 2026-01-04 16:46:02 +08:00
commit 7ac9106589

View File

@ -326,6 +326,7 @@ func OAuth2Callback(ctx *gin.Context) {
service.Error(ctx, errors.New(e.GetMsg(e.InvalidParams)))
return
}
req.State = state
zap.L().Info("OAuth2Callback", zap.Any("req", req), zap.Any("code", code), zap.Any("state", state))
_, err := service.CastProvider.OAuthCodeToToken(ctx, req)
if err != nil {