weeveo
  • Features
  • How it works
  • Revenue
  • Agents
  • Pricing
  • Docs
Sign in
Start free
weeveoanalytics

Understand your traffic.See what leads to sales.

See where visitors come from, what they do and which visits lead to purchases. Basic statistics without a popup. Recordings require permission.

Start freeService status

© 2026 Weeveo. All rights reserved.

Product

  • Features
  • Revenue reporting
  • Realtime
  • Funnels & journeys
  • Pricing

Developers

  • Documentation
  • Agents & MCP
  • Browser SDK
  • REST API
  • Start free
  • Sign in

Company

  • Changelog
  • Support
  • Contact
  • Privacy policy
  • Terms of service
  • Refund policy
  • Status

weeveo

Skip to content
Documentation home
Start here
Meet WeeveoYour first siteFind your way aroundCore concepts & metrics
Install & track
Install the trackerFramework & CMS recipesTracker configurationBrowser SDK referenceConsent & your CMPVisitor identity & payment matchingVerify your installationCustom tracking domains
Understand your traffic
Overview & realtimeDates, filters & comparisonsSources & campaignsPages & engagementEvents & visitor timelinesExplore, paths & saved viewsTraffic quality & anomalies
Conversions & revenue
Goals & conversionsFunnels & bottlenecksRetention cohortsRevenue reportingConnect a payment providerAttribution modelsCustomer journeysAll payment providers
Experience & performance
Session replaysClick & scroll heatmapsWeb Vitals & performance
Developers & agents
Connect ChatGPT, Claude & agentsCreate & manage API keysREST API quickstartAnalytics query referenceErrors, limits & safe retriesJavaScript & Python examplesMCP transport & tool discoveryOAuth discovery & authorizationPermissions & write consentAsk Weeveo & saved chatsApp identity & plugin metadataHTTP surface referenceAll API & MCP tools
Workspace & privacy
Workspaces & multiple sitesTeam, roles & invitationsSite preferences & notificationsPublic reports, embeds & badgesAccount & securityPrivacy & collection controlsVisitor export & erasure
Operate Weeveo
Background jobs & maintenanceTroubleshooting & common questionsQuestions & analysis recipes
Building something?Explore every API tool Download JSON reference ↗
DocsDevelopers & agents
Developers & agents

OAuth discovery & authorization

The account sign-in flow and the security properties of an agent connection.

On this page
Discovery endpointsAuthorization flowScopes and sitesToken securityDisconnectTroubleshooting

Discovery endpoints#

PurposePath
MCP resource/api/v1/mcp
Protected-resource metadata/.well-known/oauth-protected-resource
Resource-specific metadata/.well-known/oauth-protected-resource/api/v1/mcp
Authorization-server metadata/.well-known/oauth-authorization-server
Dynamic client registration/oauth/register
Authorization and consent/oauth/authorize
Token exchange and refresh/oauth/token
Token revocation/oauth/revoke

Use the metadata returned by the configured HTTPS origin as authoritative. Compatible clients register their own client; end users do not paste a shared client secret.

Authorization flow#

The client discovers metadata, registers an allowed callback, creates an S256 PKCE challenge and opens authorization. The user signs in, reviews the agent, chooses sites and approves scopes. The client exchanges the returned authorization code with its verifier and the expected resource audience.

Scopes and sites#

Read is the default. weeveo:write must be requested by the client and explicitly approved using Also allow changes. The current user must have administrator access to every selected site for that consent. All-sites approval snapshots the displayed list and rechecks membership at token use.

Token security#

The implementation validates exact registered callbacks and resource audience, requires S256 PKCE, uses expiring access tokens and rotating refresh tokens with reuse detection, stores token secrets hashed, and supports revocation. HTTPS callbacks and HTTP loopback callbacks for local agents are supported subject to callback validation.

Disconnect#

Revoking a grant invalidates its access and refresh tokens across its approved sites. Removing current workspace membership also prevents continued authorized site access. Reconnect when you intentionally want to add newly created sites.

Troubleshooting#

If sign-in loops, compare the client's registered callback and resource with discovery metadata, confirm the public HTTPS app origin, and verify the deployed OAuth schema. Do not attempt to fix a callback mismatch by loosening exact callback validation.

Still looking for an answer? Try troubleshooting or get in touch.

PreviousMCP transport & tool discoveryNextPermissions & write consent
ON THIS PAGE
Discovery endpointsAuthorization flowScopes and sitesToken securityDisconnectTroubleshooting
Your sites. Your permission.

Start with read access. Grant changes when you need them.

Understand access

Search Weeveo documentation

Good places to start

Start hereYour first siteGo from a new workspace to your first verified visit.Install & trackInstall the trackerOne shared script, configured for your site and consent policy.Install & trackBrowser SDK referenceTrack actions, inspect consent and identify a permitted persistent visitor.Developers & agentsConnect ChatGPT, Claude & agentsUse OAuth sign-in for hosted agents, with optional API keys for other clients.Developers & agentsAnalytics query referenceExact shared date, traffic, comparison and filter parameters.Developers & agentsAll API & MCP toolsEvery tool, argument schema and permission in the shared registry.
K to open↑ ↓ to select · Enter to open · Esc to close