From ca615f7ad7fcbe9317bf287ef94b3156caf52162 Mon Sep 17 00:00:00 2001 From: Maksim Nabokikh Date: Wed, 8 Dec 2021 09:05:10 +0400 Subject: [PATCH] Update server/refreshhandlers.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Márk Sági-Kazár Signed-off-by: m.nabokikh --- server/refreshhandlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/refreshhandlers.go b/server/refreshhandlers.go index 2bec0b30..d8c912c9 100644 --- a/server/refreshhandlers.go +++ b/server/refreshhandlers.go @@ -76,7 +76,7 @@ func (s *Server) getRefreshTokenFromStorage(clientID string, token *internal.Ref if refresh.ClientID != clientID { s.logger.Errorf("client %s trying to claim token for client %s", clientID, refresh.ClientID) - // According to https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 Dex should response with the + // According to https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 Dex should respond with an // invalid grant error if token has already been claimed by another client. return nil, &refreshError{msg: errInvalidGrant, desc: invalidErr.desc, code: http.StatusBadRequest} }