Your agent needs user permissions. We handle the tokens.
Storage, encryption, refresh. All managed.
const token = await agentauth.getToken('user_123', 'google')
// Token is always valid. We handle refresh.When your AI agent needs to:
You need OAuth tokens. For every single user. That means building:
// Generate a URL for your user to connect
const url = agentauth.getConnectUrl({
userId: 'user_123',
service: 'google',
scopes: ['gmail.send']
})
// After they connect, get their token anytime
const token = await agentauth.getToken('user_123', 'google')
// Token is always valid. Use it with Google APIs.We handle storage, encryption, and refresh. You ship faster.
Four steps to OAuth bliss
Add your Google OAuth credentials to the dashboard
Generate connect URLs for your users with one API call
Users see Google's consent screen and approve access
Get valid tokens anytime. Auto-refresh included.
Everything you need, nothing you don't
All tokens encrypted at rest with enterprise-grade security
Tokens automatically refresh before expiry. Always valid.
Two endpoints. getConnectUrl() and getToken(). That's it.
Fully typed SDK with IntelliSense support
Users see your app name, not ours. Full white-label.
Gmail, Calendar, Drive. Request what you need.