Skip to content

chore(release): staging to production - 2026.01.22 - #883

Merged
maxtechera merged 4 commits into
productionfrom
staging
Jan 22, 2026
Merged

chore(release): staging to production - 2026.01.22#883
maxtechera merged 4 commits into
productionfrom
staging

Conversation

@github-actions

Copy link
Copy Markdown

🚀 Release: Staging to Production

Release Date: 2026-01-22

Changes in this release

  • fix(AGENT-559): add API_HOST validation across all Google OAuth files (91f96f5)
  • fix(AGENT-559): add API_HOST validation for Google OAuth (66addc9)
  • fix(AGENT-559): use API_HOST for Google OAuth callback URL (6e2bcff)

This PR is automatically created/updated when commits are pushed to staging.
Merging this PR will trigger the release workflow to create a new GitHub release.

diecoscai and others added 4 commits January 22, 2026 13:09
- Update passport.ts to construct callback URL from API_HOST like Salesforce/Atlassian
- Update Gmail.ts and refreshGoogleAccessToken.ts to use API_HOST pattern
- Remove GOOGLE_CALLBACK_URL from .env.template and copilot template
- Fix documentation to show correct callback paths
- Add documentation section explaining both OAuth callback URLs:
  - /api/v1/google-auth/callback (user auth, port 3000)
  - /api/v1/oauth2-credential/callback (Flowise credentials, port 4000)
- Add troubleshooting section for redirect_uri_mismatch error

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add runtime validation to warn when API_HOST is missing, preventing
silent failures where callback URL becomes undefined/api/v1/...

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Address review feedback:
- Add API_HOST validation to Gmail.ts (throws error if missing)
- Improve passport.ts message: use console.error with actionable fix instructions
- Add API_HOST validation to refreshGoogleAccessToken.ts

This ensures early failure with clear error messages when API_HOST
is not configured, preventing silent failures with invalid callback URLs.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…uth-redirect-fix

fix(AGENT-559): use API_HOST for Google OAuth callback URL
@vercel

vercel Bot commented Jan 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
answerai-docs Building Building Preview Jan 22, 2026 7:54pm
the-answerai Building Building Preview Jan 22, 2026 7:54pm

Request Review

@maxtechera
maxtechera merged commit 498cfd2 into production Jan 22, 2026
11 of 12 checks passed
@maxtechera
maxtechera temporarily deployed to staging - aai-unified2-flowise-moonstruck January 22, 2026 20:05 — with Render Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants