0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

chore(core): remove resource indicator

This commit is contained in:
Gao Sun 2021-07-28 20:35:36 +08:00
parent ee06a61503
commit 5f2c9ef840
No known key found for this signature in database
GPG key ID: 0F0EFA2E36639F31

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