mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-24 11:39:18 -05:00
Update go/cmd/dolt/commands/sqlserver/metrics_auth.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -79,7 +79,7 @@ func getJWTProvider(expectedClaimsMap map[string]string, url string) (jwtauth.JW
|
||||
case "sub":
|
||||
pr.Subject = claim
|
||||
default:
|
||||
return pr, errors.New("ValidateJWT: Unexpected expected claim found in user identity")
|
||||
return pr, errors.New("ValidateJWT: Unsupported claim found in user identity")
|
||||
}
|
||||
}
|
||||
return pr, nil
|
||||
|
||||
Reference in New Issue
Block a user