Skip to content

fix(social-login): add Discord OAuth login button#65

Merged
lakhansamani merged 1 commit into
mainfrom
fix/discord-social-login
Jul 23, 2026
Merged

fix(social-login): add Discord OAuth login button#65
lakhansamani merged 1 commit into
mainfrom
fix/discord-social-login

Conversation

@lakhansamani

Copy link
Copy Markdown
Contributor

Summary

  • add Discord icon (src/icons/discord.tsx)
  • wire is_discord_login_enabled into config types + context defaults
  • add Discord to hasSocialLogin check and render its button, mirroring the existing Twitch/Roblox pattern

Test plan

  • tsc --noEmit passes
  • manual check against a backend with is_discord_login_enabled: true

Closes #64

is_discord_login_enabled was never wired into AuthorizerSocialLogin,
so operators with Discord enabled on the backend had no button to
trigger /oauth_login/discord. Mirrors the existing Twitch/Roblox
pattern: new icon, config flag, hasSocialLogin check, button block.

Closes #64
@github-actions

Copy link
Copy Markdown

size-limit report 📦

Path Size
dist/index.cjs 59.83 KB (+1.28% 🔺)
dist/index.mjs 59.46 KB (+1.28% 🔺)

@lakhansamani
lakhansamani merged commit 24ab052 into main Jul 23, 2026
5 checks passed
@lakhansamani
lakhansamani deleted the fix/discord-social-login branch July 23, 2026 09:48
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.

Discord social login button missing from AuthorizerSocialLogin

1 participant