mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 11:59:11 +00:00
.. | ||
http | ||
BUILD.bazel | ||
discord-auth.go | ||
README.md |
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