PostHog / PostHog/posthog-vscode
Redirect URI mismatch on Antigravity
Open
@fercgomes is already working on this.
Since May 18, 2026.
bug
- Dominant language
- TypeScript
- Stars
- 7
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
The extension is currently not working on Antigravity. When trying to log in to the extension, the OAuth redirect responds with invalid_request error. Antigravity has it's own scheme, so I think it just might be a misconfiguration in GitHub OAuth app (the redirect URI is antigravity://posthog.posthog-vscode/auth/callback).
Steps to reproduce
- Install the extension
- Click on "Sign in with PostHog" button in extension setup screen
- Select an EU PostHog Cloud
- Get redirected to an error page
Expected behavior
The login flow should be correctly handled and I should be taken back to Antigravity and be logged into the extension.
Environment
- VS Code version: 1.107.0 (Antigravity 1.23.2)
- Extension version: 0.71.1
- OS: MacOS 26.1
- PostHog instance: EU Cloud
Screenshots
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.