Skip to content

fix(api): route OAuth OpenAPI operations through auth host - #883

Open
kevincador wants to merge 1 commit into
masterfrom
fix/openapi-oauth-auth-host
Open

fix(api): route OAuth OpenAPI operations through auth host#883
kevincador wants to merge 1 commit into
masterfrom
fix/openapi-oauth-auth-host

Conversation

@kevincador

Copy link
Copy Markdown
Contributor

Summary

Route every OAuth operation in the generated OpenAPI specification through https://auth.trakt.tv while keeping regular API operations on https://api.trakt.tv.

Changes

  • Add operation-level auth server overrides for every /oauth/* endpoint.
  • Update OAuth authorization and token exchange URLs to use the auth host.
  • Clarify that all OAuth requests use the auth hostname.
  • Add regression tests for API defaults, OAuth operations, and OAuth2 flow URLs.

Risk

Low. The change only affects generated OpenAPI routing and documentation. Runtime
API client routing is unchanged.

@kevincador
kevincador requested a review from vladjerca July 23, 2026 11:50
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.

1 participant