Supabase Auth Self-hosted always redirects to https://localhost:3000 (Redirect + Email url)
When you set up OAuth with Discord you need to register redirect URIs in the Discord Developer Portal. It appears you have https://localhost:3000 (or just localhost:3000) configured there which Discord is using instead of your production URL.
To fix this all you need to do is:
After you did that also maybe clear your browser cache/cookies and restart your superbase containers.
To fix this all you need to do is:
- Go to Discord Developer Portal
- Select your application
- Navigate to OAuth2 settings
- In the Redirects section, add: https://sb.minerank.com/auth/v1/callback
- Remove or keep the localhost redirect for local development
- Save changes
After you did that also maybe clear your browser cache/cookies and restart your superbase containers.