OAuth2 Authorization
OAuth2 Authorization
Vacation Tracker's OAuth2 server for third-party application authorization.
Vacation Tracker provides an OAuth2 authorization server that allows third-party applications to access user data on behalf of authenticated users. The server implements the Authorization Code Grant flow (RFC 6749 Section 4.1).
Overview
- Grant type: Authorization Code (confidential clients only)
- Token format: JWT (issued by AWS Cognito)
- Token lifetime: Access tokens expire after 60 minutes, refresh tokens after 365 days
- Authorization codes: Single-use, expire after 10 minutes
- PKCE: Not supported — security relies on client secrets, state parameter, and redirect URI validation
How it works
- Your application redirects the user to Vacation Tracker's authorization endpoint
- The user logs in with their Vacation Tracker account and grants permission
- Vacation Tracker redirects back to your application with an authorization code
- Your application exchanges the code for access and refresh tokens
- Use the access token to call protected API endpoints
Base URL
All OAuth2 endpoints are served under the /oauth path:
https://api.app.vacationtracker.io/oauthIntegrations using OAuth2
The Zapier integration uses this OAuth2 flow to authenticate users when connecting their Vacation Tracker account to Zapier. See the Zapier Setup Guide for how the authorization flow works in practice.
Next steps
- Authorization Code Flow — step-by-step flow walkthrough
- Endpoints — complete endpoint reference
- Scopes — available permission scopes