• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kyma-project / busola / 28660673755
19%
main: 20%

Build:
Build:
LAST BUILD BRANCH: fix-session-expiry
DEFAULT BRANCH: main
Ran 03 Jul 2026 12:37PM UTC
Jobs 2
Files 798
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Jul 2026 12:30PM UTC coverage: 19.237% (-0.04%) from 19.274%
28660673755

push

github

web-flow
fix: Prevent OIDC auth loop when SSO and cluster OIDC use different client IDs (#5122)

* fix: prevent OIDC auth loop when SSO and cluster OIDC use different client IDs

When SSO (IAS) is enabled alongside cluster OIDC auth, both UserManagers
called signinRedirectCallback on the same redirect URL. The one whose
client_id didn't match the stored state threw 'authority mismatch' or
'client_id mismatch', which caused a blocking alert and an infinite loop
on repeat page loads in non-incognito tabs.

Add isOwnOidcCallback helper that checks sessionStorage['oidc.<stateId>'].client_id
against the current UserManager's clientId before processing the callback.
If it doesn't match, clear stale state and do a fresh signinRedirect instead.

Also add 'authority mismatch' to the safety-net catch in authDataAtom so
any edge cases that slip through are handled without alerting the user.

* fix: don't signinRedirect when a foreign OIDC callback is being processed

* enable on dev

* fix: read OIDC pending state from localStorage, not sessionStorage

1700 of 11603 branches covered (14.65%)

Branch coverage included in aggregate %.

0 of 37 new or added lines in 2 files covered. (0.0%)

3660 of 16260 relevant lines covered (22.51%)

22.69 hits per line

Uncovered Changes

Lines Coverage ∆ File
20
1.71
-0.33% src/state/authDataAtom.ts
17
8.19
-1.47% src/state/ssoDataAtom.tsx
Jobs
ID Job ID Ran Files Coverage
1 component - 28660673755.1 03 Jul 2026 12:37PM UTC 401
26.22
GitHub Action Run
2 unit - 28660673755.2 03 Jul 2026 12:37PM UTC 795
9.97
GitHub Action Run
Source Files on build 28660673755
  • Tree
  • List 798
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28660673755
  • 1e89ef83 on github
  • Prev Build on gh-readonly-queue/main/pr-5119-79ca2ca5347dbed5139fdb79edfd702aa4895c97 (#28656527442)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc