v3/src/discord-auth
2020-10-11 15:56:35 -04:00
..
http feat: add skeleton of discord-auth, resolve gazelle issues.. again 2020-09-23 23:44:57 -04:00
BUILD.bazel feat: add skeleton of discord-auth, resolve gazelle issues.. again 2020-09-23 23:44:57 -04:00
discord-auth.go feat: add skeleton of discord-auth, resolve gazelle issues.. again 2020-09-23 23:44:57 -04:00
README.md chore: fix markdown prettier formatting 2020-10-11 15:56:35 -04:00

Discord Auth

Service for handling Discord OAuth flow.

Responsibilities

  • Redirect users to relevant Discord OAuth page w/ state
  • Handle redirect from Discord OAuth flow and process the token
  • Modify active session to include relevant data
    • v3: for parity, this is just user data
    • vNext: get guilds from oauth and cache
  • vNext: Source of truth for user guilds

Boundaries & Services

  • Inbound
    • HTTP: /discord-auth/*
    • gRPC: DiscordAuthService
  • Outbound
    • Redis
    • gRPC: SessionService