refactor(center): introspect relies on api key auth instead of shared secret

This commit is contained in:
nav
2026-05-13 08:36:06 +00:00
parent cfa5ccdfaf
commit 1c07f43032
2 changed files with 3 additions and 12 deletions

View File

@@ -37,10 +37,7 @@ export class AuthController {
}
@Post('introspect')
introspect(
@Body() body: { token?: string; guildNodeId?: string },
@Headers('x-center-shared-secret') sharedSecret?: string,
) {
return this.authService.introspectGuildToken(body?.token ?? '', body?.guildNodeId ?? '', sharedSecret);
introspect(@Body() body: { token?: string; guildNodeId?: string }) {
return this.authService.introspectGuildToken(body?.token ?? '', body?.guildNodeId ?? '');
}
}