spec(OAuth2): /oauth/api/userinfo/oauth/token/introspectを実装 (MisskeyIO#435)

This commit is contained in:
まっちゃとーにゅ 2024-02-12 03:44:20 +09:00
parent 73a4b16e14
commit c06521ba30
No known key found for this signature in database
GPG key ID: 6AFBBF529601C1DB
2 changed files with 65 additions and 2 deletions

View file

@ -115,6 +115,7 @@ export class ServerService implements OnApplicationShutdown {
fastify.register(this.nodeinfoServerService.createServer);
fastify.register(this.wellKnownServerService.createServer);
fastify.register(this.oauth2ProviderService.createServer, { prefix: '/oauth' });
fastify.register(this.oauth2ProviderService.createApiServer, { prefix: '/oauth/api' });
fastify.register(this.oauth2ProviderService.createTokenServer, { prefix: '/oauth/token' });
fastify.get<{ Params: { path: string }; Querystring: { static?: any; badge?: any; }; }>('/emoji/:path(.*)', async (request, reply) => {