apps/meteor/app/oauth2-server-config/server/oauth/default-services.ts
import { OAuthApps } from '@rocket.chat/models';
async function run(): Promise<void> {
if (!(await OAuthApps.findOneById('zapier'))) {
await OAuthApps.insertOne({
_id: 'zapier',
name: 'Zapier',
active: true,
clientId: 'zapier',
clientSecret: 'RTK6TlndaCIolhQhZ7_KHIGOKj41RnlaOq_o-7JKwLr',
redirectUri: 'https://zapier.com/dashboard/auth/oauth/return/RocketChatDevAPI/',
_createdAt: new Date(),
_createdBy: {
_id: 'system',
username: 'system',
},
});
}
}
void run();