From fa861a735634f4dee943e008f8278263f683e527 Mon Sep 17 00:00:00 2001 From: Sandrine SEMENCE <10530228+aurelien-semence@users.noreply.github.com> Date: Wed, 4 May 2022 20:42:51 +0200 Subject: [PATCH] Fix missing line. --- server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server.go b/server/server.go index 5e2d032..df19d1f 100755 --- a/server/server.go +++ b/server/server.go @@ -357,7 +357,7 @@ func (s *Server) ValidationTokenRequest(r *http.Request) (oauth2.GrantType, *oau return "", nil, errors.ErrInvalidRequest } - userID, err := s.PasswordAuthorizationHandler(r.Context(), username, password, clientID) + userID, err := s.PasswordAuthorizationHandler(r.Context(), clientID, username, password) if err != nil { return "", nil, err } else if userID == "" {