From ac3cf844986aa1787181f562a8bce49d6d38a781 Mon Sep 17 00:00:00 2001 From: Mihaly Lengyel Date: Wed, 23 Oct 2024 23:27:10 +0200 Subject: [PATCH] fix: fix typo from last commit --- .../java/io/supertokens/webserver/api/oauth/OAuthTokenAPI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/supertokens/webserver/api/oauth/OAuthTokenAPI.java b/src/main/java/io/supertokens/webserver/api/oauth/OAuthTokenAPI.java index 923829e44..ee6743681 100644 --- a/src/main/java/io/supertokens/webserver/api/oauth/OAuthTokenAPI.java +++ b/src/main/java/io/supertokens/webserver/api/oauth/OAuthTokenAPI.java @@ -106,7 +106,7 @@ protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws I String[] parsedHeader = Utils.convertFromBase64(authorizationHeader.replaceFirst("^Basic ", "").trim()).split(":"); clientId = parsedHeader[0]; } else { - clientId = InputParser.parseStringOrThrowError(input, formFields.get("client_id"), false); + clientId = formFields.get("client_id"); } try {