diff --git a/idp/src/idp/auth/auth.controller.ts b/idp/src/idp/auth/auth.controller.ts index df5ce49..ed8c1b9 100644 --- a/idp/src/idp/auth/auth.controller.ts +++ b/idp/src/idp/auth/auth.controller.ts @@ -57,7 +57,7 @@ export class AuthController { return this.usersService.loginWithSessionKey(code, null, true); } - @Get() + @Get('client') async getClient( @Query('client_id') clientId: string, @Query('response_type') responseType: string, diff --git a/idp_client/src/app/auth/login/login.component.ts b/idp_client/src/app/auth/login/login.component.ts index 5008d66..d37dc2d 100644 --- a/idp_client/src/app/auth/login/login.component.ts +++ b/idp_client/src/app/auth/login/login.component.ts @@ -67,7 +67,7 @@ export class LoginComponent { if (!this.client_id) { return; } console.log(params); - this.http.get('api/', { + this.http.get('api/client', { params }).subscribe({ next: (client) => {