Files
cameleer-saas/ui
hsiegeln d720c0500f
All checks were successful
CI / build (push) Successful in 1m55s
CI / docker (push) Successful in 1m22s
fix: force fresh OIDC sign-in after onboarding to pick up new org membership
After creating a tenant, the existing Logto tokens don't include the new
org membership/scopes. A hard page reload reused stale tokens, causing
the SDK to either lose auth state (redirect loop to login) or fail to
resolve org scopes (falling through to server UI instead of tenant UI).

Replace window.location.href with signIn() to trigger a fresh OIDC flow.
The existing Logto session cookie means auto-approval — no login form.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-26 12:06:39 +02:00
..