Sign-in and permissions

How an AI app signs in to Trigglo, what it is allowed to do, which workspace it works in, and how to disconnect it.

How sign-in works

Trigglo is the OAuth 2.1 authorization server for its own MCP endpoint. Apps that support MCP authorization do all of this for the person automatically.

  1. The app calls https://trigglo.com/mcp without a token and gets 401 with WWW-Authenticate: Bearer resource_metadata="...".
  2. It reads the protected-resource metadata (RFC 9728) and then the authorization-server metadata (RFC 8414) it names.
  3. It identifies itself with a client ID metadata document, or registers with dynamic client registration.
  4. The person signs in to Trigglo with Google or email. Someone new can create an account on the way. One consent screen names their workspace and what the app will be able to do.
  5. The app trades the code (PKCE, S256) for an access token bound to https://trigglo.com/mcp (RFC 8707) and a refresh token.
Access tokens last one hour. Refresh tokens rotate each time they are used. Signing out of trigglo.com does not disconnect AI apps.

Permissions

All four scopes are requested together and shown on one consent screen, so the app never has to ask again in the middle of a conversation.

ScopeLets the app
trigglo:readSee products, scenes, posts, social channels and the allowance left this month
trigglo:createCreate photos and videos (using the monthly allowance), add products, change captions
trigglo:publishSchedule, post now and cancel posts to Instagram, Facebook and Threads
offline_accessStay connected with a refresh token

An AI app never sees billing details or social media passwords. Trigglo stores no social passwords at all; channels connect through each platform's own sign-in.

Which workspace

The app works in the workspace of the person who signed in, with that workspace's store and the same products, posts and channels they see on trigglo.com. A workspace without a connected store works too: products are added from photos.

Publishing from chat

  • Instagram, Facebook and Threads: schedule_post and publish_now post to the store's auto-post channels.
  • TikTok, Pinterest and YouTube: these need choices made for each post in Trigglo, so the result lists them under reviewInTrigglo with a link to review them.

In-chat cards

Trigglo's tools carry MCP Apps metadata, so apps that support it show interactive cards in the chat. Apps without cards get the same data as structured content and text.

  • Photos card (create_photos, create_video, redo_photo): Each photo or video appears as it finishes. The person picks some and schedules or posts them; Post now asks first.
  • Channels card (list_channels, connect_channel): Every channel with a Connect button. A row flips to Connected once the person finishes in their browser.
  • Upload box (add_product): Called without imageUrl, it shows a box where the person picks or drops a product photo, which becomes a product.
  • Week card (list_posts): Called with view: "week", it shows the next 7 days of posts by day, with Approve all.
A card's own actions are not confirmed by the app, so the photos card asks before Post now.

Disconnecting

  • In Trigglo: Settings > AI apps lists each connected app with when it was connected and last used. Disconnect removes its access and its tokens at once; its next call gets 401 and the app offers to connect again.
  • In the AI app: remove the Trigglo connector.
If Trigglo ever pauses access for all AI apps, https://trigglo.com/mcp answers 503 until it is back.