This commit is contained in:
Bastian Wagner
2024-09-12 17:54:36 +02:00
parent 3bff98503e
commit 40cd25a771
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ export class AuthController {
return this.usersService.loginWithSessionKey(code, null, true); return this.usersService.loginWithSessionKey(code, null, true);
} }
@Get() @Get('client')
async getClient( async getClient(
@Query('client_id') clientId: string, @Query('client_id') clientId: string,
@Query('response_type') responseType: string, @Query('response_type') responseType: string,

View File

@@ -67,7 +67,7 @@ export class LoginComponent {
if (!this.client_id) { return; } if (!this.client_id) { return; }
console.log(params); console.log(params);
this.http.get<any>('api/', { this.http.get<any>('api/client', {
params params
}).subscribe({ }).subscribe({
next: (client) => { next: (client) => {