mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
feat: enable token introspection, close #2
This commit is contained in:
parent
e7afe3e745
commit
359a1b2857
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ export default async function initOidc(app: Koa, port: number): Promise<void> {
|
|||
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');
|
||||
|
|
Loading…
Reference in a new issue