From fe27c6f918c2edb6678c58bd4363f31ffbe3f9a2 Mon Sep 17 00:00:00 2001 From: Bastian Wagner Date: Wed, 18 Feb 2026 10:50:43 +0100 Subject: [PATCH] =?UTF-8?q?api=20f=C3=BCr=20register?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- idp/src/app.controller.ts | 8 ++++---- idp_client/src/app/auth/register/register.component.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/idp/src/app.controller.ts b/idp/src/app.controller.ts index 3935d29..82fcae0 100644 --- a/idp/src/app.controller.ts +++ b/idp/src/app.controller.ts @@ -4,8 +4,8 @@ import { Response } from 'express'; @Controller() export class AppController { - @Get('*') - handleClientRoutes(@Res() res: Response) { - res.sendFile(join(__dirname, '..', 'client', 'index.html')); - } + // @Get('*') + // handleClientRoutes(@Res() res: Response) { + // res.sendFile(join(__dirname, '..', 'client', 'index.html')); + // } } diff --git a/idp_client/src/app/auth/register/register.component.ts b/idp_client/src/app/auth/register/register.component.ts index 6fa38b8..8dd6779 100644 --- a/idp_client/src/app/auth/register/register.component.ts +++ b/idp_client/src/app/auth/register/register.component.ts @@ -39,7 +39,7 @@ export class RegisterComponent { const params = (this.route.snapshot.queryParamMap as any)["params"]; this.redirectUri = params.redirect_uri; this.client_id = params.client_id; - this.http.get('', { + this.http.get('api/client', { params }).subscribe({ next: (client) => {