Skip to content

Auth: Move authentification validation in generated code#1434

Merged
BenjaminPelletier merged 1 commit intointeruss:masterfrom
Orbitalize:enforce_auth
Apr 15, 2026
Merged

Auth: Move authentification validation in generated code#1434
BenjaminPelletier merged 1 commit intointeruss:masterfrom
Orbitalize:enforce_auth

Conversation

@the-glu
Copy link
Copy Markdown
Contributor

@the-glu the-glu commented Apr 15, 2026

This move up authentication checks in generated code, ensuring it's enforced everywhere automatically, preventing situation like #1422

Minor side effects, but recorded here to simplify review:

  • ValidateOauth call was not using the setAuthError helper, this is now normalized
  • Call that don't needed authentication are not calling s.Authorizer.Authorize anymore (who was just storing a used error dues to missing authentication)

@BenjaminPelletier BenjaminPelletier merged commit a364dac into interuss:master Apr 15, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants