AJERIS
TourBlogDocsLog inText us
Log inText us
← All terms
Category
Integrations and MCP
Related terms
  • OAuth callback
  • OAuth scope
  • Bearer token
  • Encrypted credential
  • Personal access token
Glossary · Integrations and MCP

OAuth flow

OAuth is the standard protocol for letting a third-party application access your accounts (Gmail, Calendar, Stripe) without seeing your password. The user grants scoped permission via a redirect-and-callback flow; the app receives a token usable for the granted scopes.

Why it matters

OAuth is the dominant authentication pattern for connecting AI agents to the user's real accounts. Without OAuth, the agent would need the user's password (a security disaster) or the user would have to manually copy data between services (a usability disaster). OAuth solves both: the user authorizes the agent at the source SaaS, the source SaaS hands the agent a scoped token, and the agent uses that token to read/write only what was authorized.

The OAuth flow has a few standard shapes:

  • OAuth 2.0 authorization code flow. The dominant pattern. User redirects to the source SaaS; logs in; grants scopes; redirects back to the agent with an authorization code; agent exchanges code for an access token (and optionally a refresh token).
  • OAuth 2.0 PKCE. A variant for public clients (mobile apps, single-page apps). Adds a proof-key to defend against intercepted authorization codes.

The user experience: a click, a redirect, a "yes I authorize," another redirect, and the agent is connected. The whole flow is seconds.

The hard parts for the agent operator:

  • Token rotation. Refresh tokens expire; the agent has to refresh access tokens before they expire to keep tools working.
  • Scope management. Different operations need different scopes; minimizing the requested set is good security hygiene.
  • Revocation handling. If the user revokes access at the source, the next call returns 401; the agent should handle gracefully and prompt re-auth.

How Ajeris handles this

Ajeris uses OAuth 2.0 to connect to all 21 personal-side integrations (Gmail, Calendar, Drive, Plaid, Spotify, Hue, Uber, Apple Music, Shopify, QuickBooks, Xero, Square, Slack, HubSpot, Notion, GitHub, Google LSA, etc.). The user clicks a connect button; the redirect-and-callback flow runs; tokens land in the agent's encrypted credential store.

The agent handles token refresh automatically. Scopes are minimal (the agent requests only what it needs for the user's intended use case). Revocation triggers a re-auth prompt the next time the agent tries to use the tool.

See it work.

Text +1 (470) 821 4265. Free to try.

Text on WhatsApp
Connects to

Every tool you already use. Your agent does the rest.

WhatsApp
Gmail
Calendar
Slack
Notion
GitHub
Instagram
Spotify
Uber
DoorDash
Apple Music
Telegram
WhatsApp
Gmail
Calendar
Slack
Notion
GitHub
Instagram
Spotify
Uber
DoorDash
Apple Music
Telegram
Shopify
QuickBooks
Xero
Square
HubSpot
Salesforce
Stripe
Lyft
Alexa
Google LSA
Hue
Claude
Shopify
QuickBooks
Xero
Square
HubSpot
Salesforce
Stripe
Lyft
Alexa
Google LSA
Hue
Claude

Message to start

+1 470 821 4265

Message the number above on WhatsApp or by SMS. Your assistant replies within seconds and sets itself up in the conversation. Or sign up by web form to be added to our list.

Welcome message. “Hi. I’m Ajeris. I’ll be your personal agent. What should I call you? Reply STOP to unsubscribe, HELP for help.”

STOP to unsubscribe. HELP for support.

Message and data rates may apply. Carriers are not liable for delayed or undelivered messages. Message frequency varies based on your interaction with the agent.

Questions: hi@ajeris.com

Your assistant is already in your phone. You just need to text it.

The personal assistant you can actually get today. No app, no waitlist.

WhatsApphi@ajeris.com
Personal
  • Channels
  • Morning brief
  • Meetings
  • Research and build
  • Laptop on a leash
  • Everyday
  • Memory
Platform
  • Connectors
  • Platform
Developers
  • Docs
  • Quickstart
  • Platform overview
  • Memory model
  • Skills
  • Scheduled tasks
  • MCP server
  • Claude Code
  • Alexa+
Resources
  • Blog
  • Compare
  • Glossary
  • Live webinar
  • Creator Program
Trust
  • Privacy
  • Security
  • Terms
  • Data retention
  • Access controls
  • Vulnerability management
  • Opt in
  • Disconnect

Your personal agent, by text.

Try it free·Ajeris for business·docs.ajeris.com·© 2026 Ajeris