diff --git a/packages/common/src/api/developer-apps.ts b/packages/common/src/api/developer-apps.ts index ea29b9f882..3671fce124 100644 --- a/packages/common/src/api/developer-apps.ts +++ b/packages/common/src/api/developer-apps.ts @@ -65,6 +65,11 @@ const developerAppsApi = createApi({ userId: encodedUserId }) + await sdk.grants.createGrant({ + userId: encodedUserId, + appApiKey: apiKey + }) + return { name, description, apiKey, apiSecret } }, options: {