Two authentication methods
Calen360 supports two ways to authenticate AI tools. Choose based on how you’re connecting:Method 1 — OAuth 2.0
OAuth 2.0 is the standard for interactive AI tools. Your tool discovers the auth server, registers itself, and guides you through a browser-based login. You never need to copy tokens manually.How the flow works
1
Discovery
The AI tool fetches Calen360’s OAuth server metadata from the well-known endpoint:This returns the actual authorization, token, and registration endpoints (hosted on
api.calen360.com), so the tool knows where to register, where to send you for login, and how to exchange tokens.2
Dynamic client registration
The AI tool registers itself as a client automatically (RFC 7591 — no manual app setup in Calen360 required):This returns a
client_id that the tool uses for the rest of the flow.3
Authorization
The tool opens a browser window and redirects you to the Calen360 login and consent screen:You log in with your Calen360 credentials, review the requested scopes, and click Allow Access.
4
Token exchange
After you approve, the tool exchanges the authorization code for an access token using PKCE (Proof Key for Code Exchange):The token is stored securely by the AI tool. You won’t see it directly.
5
Authenticated requests
All subsequent MCP requests use the access token automatically. Tokens refresh in the background when they expire — you won’t be asked to log in again unless you revoke access.
PKCE is an industry-standard security extension for OAuth 2.0 that protects the auth flow even for public clients (apps that can’t store a client secret). All MCP-compatible AI tools that support OAuth implement it.
Scopes
Scopes control what an AI tool is allowed to do in your workspace. You choose which scopes to grant at the consent screen.Revoking OAuth access
To disconnect an AI tool:- Go to Settings in app.calen360.com
- Open Security → Connected Apps
- Find the tool you want to disconnect and click Revoke
Method 2 — API key
API keys are the simpler option for scripts and custom agents where there’s no browser to open.Creating an API key
1
Open API Tokens
In app.calen360.com, go to Settings → API Tokens.
2
Create a new token
Click New Token. Give it a descriptive name (e.g. “Weekly digest script”) and choose the access level:
- Read-only — for analytics, reporting, and read-only agents
- Read + Write — for agents that create or modify bookings
3
Copy the token
Copy the token immediately — it’s only shown once. Store it in your environment variables or secrets manager, not in source code.
4
Use it in your config
Pass the token as a Bearer token when connecting to the MCP endpoint. See the Custom Agents page for examples.
API key properties
- API keys do not expire unless you revoke them manually
- You can scope keys to specific teams in your workspace
- Read-only by default — enable write access explicitly when creating the token
- You can create multiple keys for different agents or integrations
Revoking an API key
- Go to Settings → API Tokens
- Find the token you want to remove
- Click Revoke