From 359a1b285783b7401ba2316c0a1e734d6f4a93bc Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Wed, 30 Jun 2021 23:09:00 +0800 Subject: [PATCH] feat: enable token introspection, close #2 --- packages/core/src/init/oidc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/init/oidc.ts b/packages/core/src/init/oidc.ts index bed682333..5244db7f6 100644 --- a/packages/core/src/init/oidc.ts +++ b/packages/core/src/init/oidc.ts @@ -33,7 +33,7 @@ export default async function initOidc(app: Koa, port: number): Promise { token_endpoint_auth_method: 'none', }, ], - features: { revocation: { enabled: true } }, + features: { revocation: { enabled: true }, introspection: { enabled: true } }, clientBasedCORS: (ctx, origin) => { console.log('rogin', origin); return origin.startsWith('http://localhost:3000');