0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-10 22:22:45 -05:00

chore(core): remove resource indicator

This commit is contained in:
Gao Sun 2021-07-28 20:35:36 +08:00
parent 3c2c9ad76d
commit 4c07a12ae9

View file

@ -38,14 +38,6 @@ export default async function initOidc(app: Koa): Promise<Provider> {
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) => {