Skip to main content
Connect your AI agent to a user’s Snapchat account to share content like photos, videos, and links.

Connect Snapchat to Auth0

1

Snapchat setup

  1. Visit the Snapchat Developer account page and sign up.
  2. Navigate to the Snap Kit Portal and create a new app in the Snapchat Developer Portal.
  3. You will need to pick the libraries you plan to use: Login Kit is required at the minimum. Ensure Login Kit is enabled for your app.
  4. Generate a Confidential OAuth 2.0 Client ID and Client Secret and note:
    • Client ID (OAuth client_id)
    • Client Secret (OAuth client_secret)
  5. Configure Redirect URIs:
    • Redirect URL: https://YOUR_AUTH0_DOMAIN/login/callback
    • Snapchat requires HTTPS for redirect URIs.
    You can find the Auth0 domain in the Auth0 Dashboard.You can find this under Applications > [Your Application] > Settings > Basic Information > Domain.If you are using the custom domains feature, your Auth0 domain is the custom domain. You can find this under Branding > Custom Domains.
  6. Choose the Login Kit scopes:
    • https://auth.snapchat.com/oauth2/api/user.display_name - For user’s display name
    • https://auth.snapchat.com/oauth2/api/user.external_id - For a unique user ID
    • https://auth.snapchat.com/oauth2/api/user.bitmoji.avatar- Optional, for Bitmoji
  7. In the left hand panel, navigate to Versions > [Your App Name], scroll to the Login Kit section and add the redirect URIs.
To learn more about setting up Snapchat, read the Login with Snapchat documentation.
2

Auth0 setup

Token Vault configuration example

To configure the Token Vault for your Snapchat connection, you can use the following code snippet in your application:

Next steps