From ca95c13bbecff3412c07caa03357d39f24c220f2 Mon Sep 17 00:00:00 2001 From: Sattvik Chakravarthy Date: Wed, 11 Sep 2024 15:48:16 +0530 Subject: [PATCH] fix: pr comment --- .../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 6d56e396d..2fdb846a9 100644 --- a/src/main/java/io/supertokens/webserver/api/oauth/OAuthTokenAPI.java +++ b/src/main/java/io/supertokens/webserver/api/oauth/OAuthTokenAPI.java @@ -58,7 +58,7 @@ public String getPath() { protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws IOException, ServletException { JsonObject input = InputParser.parseJsonObjectOrThrowError(req); String iss = InputParser.parseStringOrThrowError(input, "iss", false); // input validation - JsonObject bodyFromSDK = InputParser.parseJsonObjectOrThrowError(input, "body", false); + JsonObject bodyFromSDK = InputParser.parseJsonObjectOrThrowError(input, "inputBody", false); Boolean useStaticKeyInput = InputParser.parseBooleanOrThrowError(input, "useStaticSigningKey", true);