From afed523d5bc319fdc90141aee381b5f4ee0132de Mon Sep 17 00:00:00 2001 From: Bastian Wagner Date: Fri, 27 Dec 2024 21:56:01 +0100 Subject: [PATCH] queryparameter --- idp/src/idp/auth/auth.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idp/src/idp/auth/auth.controller.ts b/idp/src/idp/auth/auth.controller.ts index ed8c1b9..58c1f07 100644 --- a/idp/src/idp/auth/auth.controller.ts +++ b/idp/src/idp/auth/auth.controller.ts @@ -30,7 +30,7 @@ export class AuthController { async login( @Body('username') username: string, @Body('password') password: string, - @Body('client_id') clientId: string, + @Query('client_id') clientId: string, ) { const token = await this.usersService.createToken( username,