Skip to content

fix(api): add missing /api prefix to inter-service routes#74

Merged
BK1031 merged 1 commit into
mainfrom
bk1031/fix-api-prefix-audit
Jun 5, 2026
Merged

fix(api): add missing /api prefix to inter-service routes#74
BK1031 merged 1 commit into
mainfrom
bk1031/fix-api-prefix-audit

Conversation

@BK1031
Copy link
Copy Markdown
Contributor

@BK1031 BK1031 commented Jun 5, 2026

  • Add `/api` prefix to onboarding flow calls for email-auth, phone-auth, external-auth (discord/service/onboarding_token.go)
  • Add `/api` prefix to the prompt=none re-consent lookup (oauth/api/authorize.go)
  • Without the prefix, kerbecs falls through to the web frontend catch-all and returns 405, breaking new-account onboarding and silent re-auth

Gateway only matches /api/core/*; calls without the prefix fall through
to the web frontend catch-all and 405. Affected: onboarding consume flow
(email/phone/external auth) and the prompt=none re-consent check.
@BK1031 BK1031 merged commit 4822d78 into main Jun 5, 2026
15 checks passed
@BK1031 BK1031 deleted the bk1031/fix-api-prefix-audit branch June 5, 2026 07:22
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