Skip to content

Properly detect missing authorization in Outcalls using OAuth#591

Merged
jmuscireum merged 1 commit intomainfrom
feature/jmu/oauth-outcall-unauthorized-fix
Jan 15, 2026
Merged

Properly detect missing authorization in Outcalls using OAuth#591
jmuscireum merged 1 commit intomainfrom
feature/jmu/oauth-outcall-unauthorized-fix

Conversation

@jmuscireum
Copy link
Contributor

Description

403 is the wrong code to check, as it indicated missing permissions. 401 indicates missing authorization and is also the code that our own services return.

Additional Notes

  • This PR fixes or works on following ticket(s): SE-14765
  • This PR is related to PR:

Checklist

  • Code change has been tested and works locally
  • Code was formatted via IntelliJ and follows SonarLint & best practices
  • Patch Tasks: Is local execution of Patch Tasks necessary? If so, please also mark the PR with the tag.

403 is the wrong code to check, as it indicated missing permissions. 401 indicates missing authorization and is also the code that our own services return.

Fixes: SE-14765
@jmuscireum jmuscireum added the 🐛 Bugfix Contains only a small fix for an existing bug label Jan 15, 2026
@jmuscireum jmuscireum merged commit 7eb4b51 into main Jan 15, 2026
5 checks passed
@jmuscireum jmuscireum deleted the feature/jmu/oauth-outcall-unauthorized-fix branch January 15, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 Bugfix Contains only a small fix for an existing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants