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,