Commit 47c18f6
authored
feat: wire Zoho and Google OAuth + grant CNPG app role superuser privileges
## Changes
- Wire Zoho OAuth env vars (`ZOHO_OAUTH_CLIENT_ID`, `ZOHO_OAUTH_CLIENT_SECRET`) — guarded by `oauth.zohoClientIdKey`
- Wire Google OAuth env vars (`GOOGLE_OAUTH_CLIENT_ID`, `GOOGLE_OAUTH_CLIENT_SECRET`) — guarded by `oauth.googleClientIdKey`
- Guard GitHub OAuth injection on non-empty `githubClientIdKey` (allows Zoho/Google-only deployments)
- Add `postInitApplicationSQL` to CNPG Cluster to grant `SUPERUSER CREATEROLE CREATEDB REPLICATION` to the app role, required for remote server migrations that manage `electric_sync` role
## Usage
Set `oauth.name`, `oauth.zohoClientIdKey`/`oauth.zohoClientSecretKey` (and/or `googleClientIdKey`/`googleClientSecretKey`) in your values to enable the respective OAuth provider.1 parent 621b89d commit 47c18f6
4 files changed
Lines changed: 42 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| 262 | + | |
262 | 263 | | |
263 | 264 | | |
264 | 265 | | |
| |||
270 | 271 | | |
271 | 272 | | |
272 | 273 | | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
273 | 299 | | |
274 | 300 | | |
275 | 301 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | | - | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
133 | 141 | | |
134 | 142 | | |
135 | 143 | | |
| |||
Submodule vibe-kanban updated 556 files
0 commit comments