[chore] Bump oauth2/v4 -> v4.6.6.6-SSB (#1571)

This commit is contained in:
tobi
2023-02-27 16:16:58 +01:00
committed by GitHub
parent 4bb3f59324
commit d550f0ecbe
4 changed files with 8 additions and 4 deletions

View File

@ -313,6 +313,10 @@ func (s *Server) ValidationTokenRequest(r *http.Request) (oauth2.GrantType, *oau
return "", nil, errors.ErrUnsupportedGrantType
}
if !s.CheckGrantType(gt) {
return "", nil, errors.ErrUnsupportedGrantType
}
clientID, clientSecret, err := s.ClientInfoHandler(r)
if err != nil {
return "", nil, err