Update documentation for Discord OAuth and verification fixes
Add detailed Discord OAuth redirect URL configurations and note recent fixes for alphanumeric verification codes, API error tracking, and bot deployment. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: ecea0689-f124-449f-b840-e1543d4f8b5b 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
This commit is contained in:
parent
4d5a7dee32
commit
b99ef3c8ce
2 changed files with 24 additions and 0 deletions
4
.replit
4
.replit
|
|
@ -52,6 +52,10 @@ externalPort = 80
|
|||
localPort = 8044
|
||||
externalPort = 3003
|
||||
|
||||
[[ports]]
|
||||
localPort = 36727
|
||||
externalPort = 3002
|
||||
|
||||
[[ports]]
|
||||
localPort = 38557
|
||||
externalPort = 3000
|
||||
|
|
|
|||
20
replit.md
20
replit.md
|
|
@ -126,12 +126,32 @@ user.aethex.me → fetches from https://aethex.foundation/api/passport/subdomain
|
|||
project.aethex.space → fetches from https://aethex.foundation/api/passport/project/{slug}
|
||||
```
|
||||
|
||||
## Discord OAuth Configuration
|
||||
|
||||
### Discord Developer Portal (OAuth2 > Redirects)
|
||||
```
|
||||
https://aethex.dev/api/discord/oauth/callback
|
||||
https://aethex.foundation/api/discord/oauth/callback
|
||||
https://supabase.aethex.tech/auth/v1/callback
|
||||
```
|
||||
|
||||
### Supabase Dashboard (Authentication > URL Configuration)
|
||||
- **Site URL**: `https://aethex.foundation`
|
||||
- **Redirect URLs**:
|
||||
- `https://aethex.dev/**`
|
||||
- `https://aethex.foundation/**`
|
||||
- `https://supabase.aethex.tech/auth/v1/callback`
|
||||
|
||||
## Recent Changes (December 3, 2025)
|
||||
- ✅ Fixed passport subdomain API to call aethex.foundation (identity authority)
|
||||
- ✅ Fixed API paths: `subdomain-data` → `subdomain`, `project-data` → `project`
|
||||
- ✅ Restored wildcard rewrites in vercel.json for `*.aethex.me` and `*.aethex.space`
|
||||
- ✅ Added missing routes to vercel.json: /community/*, /developers/*, /discord-verify/*, /ethos/*
|
||||
- ✅ Added catch-all route for future paths
|
||||
- ✅ Fixed Discord verification code input to accept alphanumeric codes (was filtering out letters)
|
||||
- ✅ Added step-by-step error tracking to verify-code API for debugging
|
||||
- ✅ Configured Discord OAuth redirect URLs for multi-domain setup
|
||||
- ✅ Discord bot running on Replit (moved from Railway)
|
||||
|
||||
## Recent Changes (December 2, 2025)
|
||||
- ✅ Configured Vite to run on port 5000 for Replit compatibility
|
||||
|
|
|
|||
Loading…
Reference in a new issue