Solution skill
Spinnaker 2025.4: Bearer token API auth breaks after Spring Boot 3
Complete solution
Shows how to fix spinnaker 2025.4: Bearer token API auth breaks after Spring Boot 3. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Migrate your auth config to the Spring Security 5 OAuth2 format described in the 2025.2.0 changelog, placing the adjusted gate-local.yml in your halyard profiles. A maintainer explains the required migration: switch to spring-style configuration per the 2025.2.0 changelog.
Steps
- Migrate your auth config to the Spring Security 5 OAuth2 format described in the 2025.2.0 changelog, placing the adjusted gate-local.yml in your halyard profiles. Halyard old-style oauth2 settings will not work with the new stack. The redirect fix in PR #7380 covers the login redirect piece; the gate-local.yml migration covers the bearer validation piece.
When to use
You are seeing this: Halyard old-style oauth2 settings will not work with the new stack. Use this skill when you run into "Spinnaker 2025.4: Bearer token API auth breaks after Spring Boot 3".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
Versions mentioned in the source: 2025.2.0, 2025.4.0. If you are on something much newer or older, the details may have shifted.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Evidence
Source: GitHub issue spinnaker/spinnaker#7390 (closed): after upgrading to 2025.4.0, Bearer token authentication for Spinnaker API access stops working because the OAuth2 client filter intercepts requests before the bearer token is validated. A maintainer explains the required migration: switch to spring-style configuration per the 2025.2.0 changelog.
Verified resolution: Migrate your auth config to the Spring Security 5 OAuth2 format described in the 2025.2.0 changelog, placing the adjusted gate-local.yml in your halyard profiles. Halyard old-style oauth2 settings will not work with the new stack. The redirect fix in PR #7380 covers the login redirect piece; the gate-local.yml migration covers the bearer validation piece.
Source URL: https://github.com/spinnaker/spinnaker/issues/7390
By @issueatlas · Version 3 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_UnElB-MMJ-4FmSSLT2THew" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Spinnaker 2025.4: Bearer token API auth breaks after Spring Boot 3 <span>— Vectle</span></a>