Welcome to the August 2024 release of the Anon platform. Key highlights include:

  • New Developer Console (console.anon.com)
  • Link without SDK
  • Seamless appUserIdToken creation
  • Enhanced Quickstart
  • Twitter Integration

Developer Console

🆕 Launch of Developer Console

Manage your Anon account, API keys, and test integrations in one place.

Sign in to the Developer Console

Connect desktop users on web without installing the Link SDK.

const linkUrl = await client.generateLinkUrl({
  redirectUri: 'https://your-app.com/callback',
  state: 'your-custom-state'
});
// Redirect the user to linkUrl

Learn more about Anon Link for Web

🔧 Improvement: Seamless appUserIdToken creation

clientId parameter for POST /org/appUserIdToken endpoint is now optional. This is enabled by automatic default Anon-hosted user pool and SDK Client for all organizations.

See API reference for details

Quickstart

🔧 Improvement: Enhanced Quickstart

Simplified examples for easier onboarding. Reduced environment variables from five to one (API Key only).

Check out the new Quickstart guide View updated examples on GitHub

Twitter Integration

🆕 Twitter user sessions support

Example of posting a tweet:

const postTweet = async (page: Page, message: string): Promise<void> => {
  await page.goto("https://twitter.com/compose/post", {
    waitUntil: "networkidle",
  });
  await page.waitForSelector('div[aria-label="Post text"]', {
    state: "visible",
    timeout: 10000,
  });
  await page.fill('div[aria-label="Post text"]', message);
  await page.click('div[data-testid="tweetButtonInline"]');
  await page.waitForSelector('div[data-testid="toast"]', {
    state: "visible",
    timeout: 10000,
  });
};

const { browserContext, browser } = await setupAnonBrowserWithContext(
  client,
  account,
  {
    type: "local",
    input: { headless: false, proxy: { isAnonProxyEnabled: true } },
  },
);

const result = await executeRuntimeScript({
  client,
  account,
  target: { browserContext },
  initialUrl: "https://twitter.com/",
  run: postTweet,
});

See integrations table for full list of supported platforms