Skip to content

feat(bot): implement one-time login link for bot-to-web auth#314

Merged
Solomonsolomonsolomon merged 3 commits into
gear5labs:masterfrom
Jessepriase:feat/133-otl-bot-auth
Apr 29, 2026
Merged

feat(bot): implement one-time login link for bot-to-web auth#314
Solomonsolomonsolomon merged 3 commits into
gear5labs:masterfrom
Jessepriase:feat/133-otl-bot-auth

Conversation

@Jessepriase
Copy link
Copy Markdown
Contributor

  • Add OtlResponse interface to types.ts
  • Add !login command to DiscordAdapter (DM-only, audit logged)
  • Add /login command to TelegramAdapter (DM-only)
  • Both commands POST to /api/auth/otl with userId and platform
  • Reply includes the OTL URL, expiry note, and a warning not to share the link

Closes #133

Jess and others added 3 commits April 28, 2026 15:51
- Add OtlResponse interface to types.ts
- Add !login command to DiscordAdapter (DM-only, audit logged)
- Add /login command to TelegramAdapter (DM-only)
- Both commands POST to /api/auth/otl with userId and platform
- Reply includes the OTL URL, expiry note, and a warning not to share the link

Closes gear5labs#133
@Solomonsolomonsolomon Solomonsolomonsolomon merged commit 28b2187 into gear5labs:master Apr 29, 2026
3 checks passed
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.

[Bot] Implement 'One-time-login' link for Bot-to-Web auth

2 participants