spec(OAuth2): /oauth/api/userinfo
と/oauth/token/introspect
を実装 (MisskeyIO#435)
This commit is contained in:
parent
73a4b16e14
commit
c06521ba30
2 changed files with 65 additions and 2 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue