Skip to content

feat: add OAuth callback relay - #64

Merged
everpcpc merged 1 commit into
mainfrom
feat/oauth-callback-relay
Oct 24, 2026
Merged

everpcpc merged 1 commit into
mainfrom
feat/oauth-callback-relay

Conversation

@everpcpc

Copy link
Copy Markdown
Member

Summary

  • add static OAuth callback relay pages for AniList, MyAnimeList, Bangumi, and MangaBaka
  • validate provider-specific instance callback URLs before forwarding authorization codes and state
  • add scoped Cloudflare security headers and document the new public routes

Validation

  • temporary Node contract assertions for all providers, valid callbacks, malformed input, and unsafe targets
  • pnpm typecheck && pnpm build && pnpm exec nimbus-docs check && pnpm lint:docs
  • checked all documented routes and relay assets in dist
  • wrangler deploy --dry-run and local HTTP security-header checks
  • browser-tested successful forwarding and wrong-provider rejection

Out of scope

  • production deployment
  • OAuth provider application registration
  • kmrs/komf-rs relay URL adoption

@everpcpc
everpcpc marked this pull request as ready for review October 24, 2026 16:22
@everpcpc
everpcpc merged commit c6966fc into main Oct 24, 2026
1 check passed
@everpcpc
everpcpc deleted the feat/oauth-callback-relay branch October 24, 2026 16: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