Midday / packages /app-store /src /oauth-errors.ts
Jules
Final deployment with all fixes and verified content
c09f67c
/**
* Standardized OAuth error codes for app integrations
* Used across all OAuth providers (Fortnox, Xero, QuickBooks, Gmail, Outlook, etc.)
*/
export type OAuthErrorCode =
| "access_denied"
| "missing_license"
| "missing_permissions"
| "invalid_state"
| "token_exchange_failed"
| "unknown_error";