diff --git a/packages/backend/src/server/index.ts b/packages/backend/src/server/index.ts index 174aaf222f..3f7f7c03cb 100644 --- a/packages/backend/src/server/index.ts +++ b/packages/backend/src/server/index.ts @@ -174,7 +174,7 @@ mastoRouter.post("/oauth/token", async (ctx) => { const body: any = ctx.request.body || ctx.request.query; console.log('token-request', body); console.log('token-query', ctx.request.query); - if (body.redirect_uri.startsWith('com.tapbots') && body.grant_type === 'client_credentials') { + if (body.grant_type === 'client_credentials') { const ret = { access_token: uuid(), token_type: "Bearer",