From 5f2c9ef840f34528a59c1c220866556467d69d1f Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Wed, 28 Jul 2021 20:35:36 +0800 Subject: [PATCH] chore(core): remove resource indicator --- packages/core/src/init/oidc.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/packages/core/src/init/oidc.ts b/packages/core/src/init/oidc.ts index 9777c3586..8d966cbd4 100644 --- a/packages/core/src/init/oidc.ts +++ b/packages/core/src/init/oidc.ts @@ -38,14 +38,6 @@ export default async function initOidc(app: Koa): Promise { revocation: { enabled: true }, introspection: { enabled: true }, devInteractions: { enabled: false }, - resourceIndicators: { - // Type def for this is broken. - // Update when we return client-based default resource - defaultResource: () => ['https://api.logto.io'], - getResourceServerInfo: () => { - return { scope: 'api', accessTokenFormat: 'jwt' }; - }, - }, }, interactions: { url: (_, interaction) => {