AeThex
f1bcc957f9
fix: Discord Activity token exchange, CSP headers, subscription routes, and static asset 404
...
- Remove redirect_uri from Discord token exchange (Activities use proxy auth, not redirect flow)
- Add Content-Security-Policy with frame-ancestors for Discord embedding (was only in vercel.json)
- Wire up subscription create-checkout and manage routes in Express
- Add Studio arm to ArmSwitcher with external link
- Prevent SPA catch-all from serving HTML for missing static assets (fixes script.js Unexpected token error)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 23:49:50 +00:00
sirpiglr
6454eb224e
Update Discord activity features and documentation
...
Refactors Discord activity integration to use new SDK authentication methods, updates API endpoints for token exchange and OAuth, and revises documentation for clarity.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Event-Id: e54ac654-1faa-42a2-b227-b7df7908c2b7
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/qPXTzuE
Replit-Helium-Checkpoint-Created: true
2025-12-08 00:44:36 +00:00
sirpiglr
4d5a7dee32
Improve error handling and logging for Discord account linking
...
Enhance the Discord verification API with granular step-by-step error tracking and more specific error messages for improved debugging.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 65035574-4852-4251-bbc4-c9c37cc1ce43
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/saoW2ee
Replit-Helium-Checkpoint-Created: true
2025-12-03 02:16:30 +00:00
sirpiglr
cad695b4a7
Update Discord verification to handle alphanumeric codes
...
Modify the Discord verification input to accept alphanumeric characters and update related configurations in the API and client-side components.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 0ba1c751-a5b8-430c-9eb8-ed3da85d8c56
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/saoW2ee
Replit-Helium-Checkpoint-Created: true
2025-12-03 02:08:08 +00:00
sirpiglr
00063d17e6
Add debug endpoint to verify Discord bot and web app Supabase connection
...
Creates a new API endpoint at `/api/discord/debug-verify` to help diagnose Supabase connection issues between the Discord bot and the web application by checking environment variables and querying verification and link data.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 5a1c39ef-e200-4d89-8fc8-f9eccc554cf6
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/saoW2ee
Replit-Helium-Checkpoint-Created: true
2025-12-03 02:02:17 +00:00
sirpiglr
a8efb3ccfa
Add logging to Discord verification process to identify errors
...
Enhance `api/discord/verify-code.ts` with additional console logs to aid in debugging Supabase client creation, code lookup, and general error handling, including more detailed error information in the response.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 409d1922-375f-4f4a-9fbf-f19ce19c2a34
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/saoW2ee
Replit-Helium-Checkpoint-Created: true
2025-12-03 01:40:16 +00:00
Builder.io
e2efadff2d
Prettier format pending files
2025-11-17 08:47:57 +00:00
Builder.io
2a885a7ec1
Update Discord linking flow to use OAuth Federation
...
cgen-ad2e373cde4344ac9232bef944ff782d
2025-11-17 08:39:24 +00:00
Builder.io
f607d58b4e
Update Discord OAuth callback to use OAuth Federation
...
cgen-5a093f40c44247fcae1d7d82d3f9edb9
2025-11-17 08:39:18 +00:00
Builder.io
ac30435fd0
Add OAuth federation import to Discord callback
...
cgen-21b84a8fe4224d1f828e2414753e08e6
2025-11-17 08:39:10 +00:00
Builder.io
0a9e6167e1
Prettier format pending files
2025-11-16 08:30:05 +00:00
Builder.io
acfc78303c
completionId: cgen-2c6bcee9e0474099952aa8fa6c021307
...
cgen-2c6bcee9e0474099952aa8fa6c021307
2025-11-16 08:17:57 +00:00
Builder.io
90ec381fad
completionId: cgen-da5f615c871041f2b468cd5d02553fc1
...
cgen-da5f615c871041f2b468cd5d02553fc1
2025-11-16 08:17:54 +00:00
Builder.io
51649d6ae8
completionId: cgen-0c318fecb8884accbe9298eddad0a8f7
...
cgen-0c318fecb8884accbe9298eddad0a8f7
2025-11-16 08:17:23 +00:00
Builder.io
4c180012b8
completionId: cgen-9c165472fa87466c8c034000852c961f
...
cgen-9c165472fa87466c8c034000852c961f
2025-11-16 08:17:20 +00:00
Builder.io
cb6cc15aef
Create Discord linking session endpoint
...
cgen-289654089d904a6eb2ac9e254a5a7e89
2025-11-16 08:17:11 +00:00
Builder.io
d9bd7eaf1e
Prettier format pending files
2025-11-16 07:12:36 +00:00
Builder.io
ba8120ab38
Fix type casting in creators endpoint POST
...
cgen-ab4e89e188a3492b82638b8c9fbc8e6f
2025-11-16 07:09:38 +00:00
Builder.io
bbc717abda
Fix type casting in admin register commands
...
cgen-281568370d5a4af6be6d5c043658f1c3
2025-11-16 07:08:36 +00:00
Builder.io
c30d97fdf5
Fix type issues in discord token endpoint
...
cgen-40b986168d894c9eaeb2696c3f2464e3
2025-11-16 07:08:10 +00:00
Builder.io
8483b0755f
Fix Discord activity auth type issues
...
cgen-962fbbd315154295bc3e3912c1616676
2025-11-16 07:07:36 +00:00
Builder.io
bed085f1ea
Fix type assertions in Discord callback
...
cgen-716ea5b936c24ad699a03be069e0afda
2025-11-16 07:07:19 +00:00
Builder.io
932b4bd491
Update imports batch 28
...
cgen-c1da95dc141849ea909b37399f09c90c
2025-11-16 05:03:40 +00:00
Builder.io
1a72f45796
Prettier format pending files
2025-11-13 08:58:30 +00:00
Builder.io
748f41b222
Discord Feed Sync - Post to Discord webhook
...
cgen-d3c9a84bab384df6bbaaae65b9f5f7f3
2025-11-13 08:54:22 +00:00
Builder.io
af5130cc86
Prettier format pending files
2025-11-13 06:59:57 +00:00
Builder.io
176e3e374c
Create /api/discord/webhooks endpoint for managing Discord post webhooks
...
cgen-e5485ceff04143f59ec83049ee4ac409
2025-11-13 06:34:45 +00:00
Builder.io
7077d822fd
Create /api/discord/send-community-post endpoint for posting to Discord
...
cgen-7691724ace8a4b439b521e2871ccfd6e
2025-11-13 06:34:33 +00:00
Builder.io
30c2c556a7
Prettier format pending files
2025-11-11 17:14:47 +00:00
Builder.io
2905fbd9d8
completionId: cgen-0e19cb81ac5640c9adb71e3f9e687e03
...
cgen-0e19cb81ac5640c9adb71e3f9e687e03
2025-11-11 17:12:41 +00:00
Builder.io
b7c314623f
completionId: cgen-6576f8d39a5f48d2acbf92c4ab14b118
...
cgen-6576f8d39a5f48d2acbf92c4ab14b118
2025-11-11 08:59:58 +00:00
Builder.io
e1ae88a7be
completionId: cgen-67d0dd19c88f4f189507f0fb95cd9ec3
...
cgen-67d0dd19c88f4f189507f0fb95cd9ec3
2025-11-11 08:59:47 +00:00
Builder.io
e4913a207b
completionId: cgen-71d4e38d1e0a4402b3d65adf6ba73a2c
...
cgen-71d4e38d1e0a4402b3d65adf6ba73a2c
2025-11-11 06:28:57 +00:00
Builder.io
938e45b84f
Fix adminSupabase references to use getAdminClient()
...
cgen-0e2ffa7314024ea79e3bb3a1375eb7fd
2025-11-11 06:28:49 +00:00
Builder.io
db2c116dec
completionId: cgen-1bade63a28ba4f86a944d36f8ad88efb
...
cgen-1bade63a28ba4f86a944d36f8ad88efb
2025-11-11 06:28:42 +00:00
Builder.io
5cea1f12ca
completionId: cgen-01630bb1796640618fcdb3df7af9dedb
...
cgen-01630bb1796640618fcdb3df7af9dedb
2025-11-10 23:56:25 +00:00
Builder.io
64e145ae45
completionId: cgen-5853a7cc4b084046917352a8afbe4aed
...
cgen-5853a7cc4b084046917352a8afbe4aed
2025-11-10 23:56:20 +00:00
Builder.io
3689514c3f
completionId: cgen-93c9d8f269be4631abdfe32a303f060b
...
cgen-93c9d8f269be4631abdfe32a303f060b
2025-11-10 23:56:16 +00:00
Builder.io
b641d40a55
Prettier format pending files
2025-11-10 22:23:56 +00:00
Builder.io
a00aca6851
Fix redirect logic - Discord OAuth logins always go to dashboard
...
cgen-c0ed43cb66464c13a8e880eaf03ac566
2025-11-10 22:19:13 +00:00
Builder.io
d213425173
Remove isNewUser logic since Discord OAuth no longer creates accounts
...
cgen-abe7552d99a545508bbd9334a141279c
2025-11-10 22:19:10 +00:00
Builder.io
b545894b81
Remove duplicate Discord link creation code
...
cgen-745699c36f634d7285fe01977f4ffdec
2025-11-10 22:19:03 +00:00
Builder.io
4061b52553
Fix Discord OAuth to not auto-create accounts - require email login first
...
cgen-c604e8b802dd4a41bcb8b99aed4041b8
2025-11-10 22:18:43 +00:00
Builder.io
0575151ffe
Prettier format pending files
2025-11-10 22:02:35 +00:00
Builder.io
447d300eaf
completionId: cgen-24c5b9621ed54aad84c079627fbc1c61
...
cgen-24c5b9621ed54aad84c079627fbc1c61
2025-11-10 21:56:04 +00:00
Builder.io
82472654ab
completionId: cgen-69b9aace9b8145f0ba9ca855bb088173
...
cgen-69b9aace9b8145f0ba9ca855bb088173
2025-11-10 21:51:17 +00:00
Builder.io
9decc5a5ec
completionId: cgen-aa8832a35f964e428f76603d37f80ec6
...
cgen-aa8832a35f964e428f76603d37f80ec6
2025-11-10 21:51:14 +00:00
Builder.io
b1bbf3ba73
completionId: cgen-cd1328551e984e5e80e7ee9fc094b37f
...
cgen-cd1328551e984e5e80e7ee9fc094b37f
2025-11-10 21:45:15 +00:00
Builder.io
32b29ed7e3
completionId: cgen-1792c2b1ccb048f5ab70773803ccd9b3
...
cgen-1792c2b1ccb048f5ab70773803ccd9b3
2025-11-10 21:45:00 +00:00
Builder.io
add103dba7
completionId: cgen-7bceb9648c614d08a5df40118162c8a0
...
cgen-7bceb9648c614d08a5df40118162c8a0
2025-11-10 21:44:54 +00:00