diff --git a/src/main/java/org/gcube/portal/oauth/OauthService.java b/src/main/java/org/gcube/portal/oauth/OauthService.java index 786654d..b183760 100644 --- a/src/main/java/org/gcube/portal/oauth/OauthService.java +++ b/src/main/java/org/gcube/portal/oauth/OauthService.java @@ -181,7 +181,7 @@ public class OauthService { if (clientId == null) credentials = getCredentialFromBasicAuthorization(request); else if (request.getHeader(AUTHORIZATION_HEADER)!=null) - throw new Exception("he client MUST NOT use more than one authentication method"); + throw new Exception("the client MUST NOT use more than one authentication method"); logger.info("Params are client_id = " + credentials.getClientId() + ", client_secret = " + credentials.getClientSecret() + "*******************"+ ", redirect_uri = " +redirectUri + ", code = " + code + "*******************" + ", grant_type = " + grantType);