Commit 074e2d6
Nik Samokhvalov
fix(cli): pass api_url to UI for OAuth to ensure same backend is used
When user has a custom apiBaseUrl in config (e.g., staging v2.postgres.ai),
the CLI now passes this URL to the UI via api_url query param. This ensures
oauth_approve is called on the same backend where oauth_init created the session,
preventing 'OAuth session not found' errors due to API/UI backend mismatch.1 parent eb557fb commit 074e2d6
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2102 | 2102 | | |
2103 | 2103 | | |
2104 | 2104 | | |
2105 | | - | |
| 2105 | + | |
| 2106 | + | |
2106 | 2107 | | |
2107 | 2108 | | |
2108 | 2109 | | |
| |||
0 commit comments