Repository navigation
Commit 1457c00
fix(providers): fix onboardUser body field name (tier_id, not tierId)
Byte-for-byte comparison against OmniRoute's working Antigravity client
(D:\dev\OmniRoute\src\lib\oauth\providers\antigravity.ts): the onboardUser
request body uses snake_case tier_id, inconsistent with every other
camelCase field in these APIs. We were sending tierId, which Google's
onboarding endpoint silently rejects — a plausible root cause for the
persistent anomalyco#3501 license error on the "ide" profile, distinct from and
on top of the metadata-shape and header fixes already applied.
Also re-fetches loadCodeAssist after a successful onboardUser instead of
trusting its own response shape for the project ID, matching OmniRoute's
sequence — onboardUser's response doesn't reliably carry the project.
Co-Authored-By: Claude Sonnet 5 <[email protected]>1 parent 47a39c8 commit 1457c00
1 file changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
143 | 147 | | |
144 | 148 | | |
145 | 149 | | |
146 | 150 | | |
147 | | - | |
| 151 | + | |
148 | 152 | | |
149 | 153 | | |
150 | 154 | | |
151 | | - | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
152 | 163 | | |
153 | 164 | | |
154 | 165 | | |
| |||
0 commit comments