0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00

Merge pull request #47 from logto-io/gao--remove-resource-indicator

chore(core): remove resource indicator
This commit is contained in:
Gao Sun 2021-07-28 20:40:54 +08:00 committed by GitHub
commit 49bffd6803

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) => {