Skip to content

feat: notify Discord for new Google signups#4

Merged
anxi01 merged 1 commit into
mainfrom
codex/waitlist-discord-webhook
May 13, 2026
Merged

feat: notify Discord for new Google signups#4
anxi01 merged 1 commit into
mainfrom
codex/waitlist-discord-webhook

Conversation

@anxi01

@anxi01 anxi01 commented May 13, 2026

Copy link
Copy Markdown
Member

Summary

  • send a Discord webhook when a user signs in with Google for the first time
  • use a dedicated DISCORD_NEW_USER_WEBHOOK_URL so signup notifications can go to a separate channel from waitlist alerts
  • keep signup success independent from Discord delivery failures

Details

  • add discord_new_user_webhook_url to server settings
  • send the new-user webhook only when google_login creates a user for the first time
  • add Discord payload coverage for the new signup embed
  • document the extra webhook variable in .env.example and README.md

Testing

  • python3 -m pytest tests/test_auth_api.py tests/test_discord_service.py -q
  • python3 -m pytest -q

@anxi01 anxi01 merged commit 99ef64c into main May 13, 2026
2 checks passed
@anxi01 anxi01 deleted the codex/waitlist-discord-webhook branch May 13, 2026 22:05
@anxi01 anxi01 self-assigned this May 14, 2026
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