diff --git a/packages/backend/src/server/oauth/OAuth2ProviderService.ts b/packages/backend/src/server/oauth/OAuth2ProviderService.ts index cbb91543c3..7ccf3a297e 100644 --- a/packages/backend/src/server/oauth/OAuth2ProviderService.ts +++ b/packages/backend/src/server/oauth/OAuth2ProviderService.ts @@ -78,6 +78,8 @@ export class OAuth2ProviderService { payload.on('error', done); }); + fastify.register(multer.contentParser); + fastify.get('/oauth/authorize', async (request, reply) => { const query: any = request.query; let param = "mastodon=true";