Repository navigation
SSO OIDC Activation #1568
Replies: 4 comments
|
026-10-30T20:33:18.711Z [aisoc-api] events_of_interest ClickHouse fallback: clickhouse query failed: Code: 47. |
|
Thanks — you found two real bugs, and both are fixed in #1569. 1. The admin lockout (the 403s). You're right that activating SSO is what did it, and nothing about the admin account changed — a different user signing in triggered it. The mechanism: permissions resolve from the static role map only while a tenant has zero role grants. Your bootstrap admin was created with The fix makes the bootstrap admin always hold its 2. The ClickHouse Both fixes are verified against a real Postgres with the full migration chain (the lockout is reproduced in a test and then shown fixed). I'll follow up here once the PR merges and the images publish. |
|
Merged — #1569 is on To pick it up: |
|
This is now released in v20.4.0 — both the SSO admin-lockout and the funnel ClickHouse error are fixed in it. To upgrade: Thanks again for the detailed report, including the API logs — the ClickHouse line is what let us catch the second bug alongside the one you hit first. |

Thanks — you found two real bugs, and both are fixed in #1569.
1. The admin lockout (the 403s). You're right that activating SSO is what did it, and nothing about the admin account changed — a different user signing in triggered it. The mechanism: permissions resolve from the static role map only while a tenant has zero role grants. Your bootstrap admin was created with
role = adminbut no row in the grant table (it's created after the seed that would have backfilled one). That's harmless until the first SSO user signs in — provisioning grants that user a role, which flips the whole tenant to database-backed RBAC, and from that moment your admin (with no grant row) resolves to zero permis…