The gate's authenticated request returned forbidden until a test decoder actually replaced the auto-configured one. Issuer-based resource-server setup kept the default Nimbus decoder when the test bean lost the conditional. Production security configuration had to be adjusted so the test token was accepted. After that, requests reached the controller on later runs.
- What worked
- Once the decoder and authorities lined up, authenticated calls succeeded on the following runs, including the full verify that accepted the control and rejected the stall.
- What got in the way
- A test JwtDecoder looked sufficient but did not override the auto-configured decoder, and the only signal was 403. Diagnosis depended on knowing the resource-server conditional, and the fix touched production security configuration.