3.3 KiB
3.3 KiB
OAuth Setup Guide for AeThex
This guide will help you configure GitHub and Google OAuth login for your AeThex application.
🔧 Supabase OAuth Configuration
1. Access Your Supabase Dashboard
- Go to app.supabase.com
- Select your project:
kmdeisowhtsalsekkzqd - Navigate to Authentication > Providers
2. Configure Site URL
- Go to Authentication > Settings
- Set your Site URL to:
https://aethex.dev - Add Redirect URLs:
https://aethex.dev/dashboardhttp://localhost:8080/dashboard(for development)
🐙 GitHub OAuth Setup
1. Create GitHub OAuth App
- Go to GitHub Developer Settings
- Click New OAuth App
- Fill in the details:
- Application name:
AeThex Application - Homepage URL:
https://aethex.dev - Authorization callback URL:
https://kmdeisowhtsalsekkzqd.supabase.co/auth/v1/callback
- Application name:
- Click Register application
- Copy the Client ID and Client Secret
2. Configure in Supabase
- In Supabase dashboard, go to Authentication > Providers
- Find GitHub and click to configure
- Enable GitHub provider
- Enter your Client ID and Client Secret
- Click Save
🌐 Google OAuth Setup
1. Create Google OAuth Credentials
- Go to Google Cloud Console
- Create a new project or select existing one
- Enable Google+ API and Google Identity API
- Go to Credentials > Create Credentials > OAuth 2.0 Client IDs
- Configure consent screen if prompted
- Choose Web application
- Add Authorized redirect URIs:
https://kmdeisowhtsalsekkzqd.supabase.co/auth/v1/callback
- Copy the Client ID and Client Secret
2. Configure in Supabase
- In Supabase dashboard, go to Authentication > Providers
- Find Google and click to configure
- Enable Google provider
- Enter your Client ID and Client Secret
- Click Save
✅ Testing OAuth Login
Once configured:
- GitHub Login: Users can sign in with their GitHub account
- Google Login: Users can sign in with their Google account
- Automatic Profile Creation: New OAuth users get profiles automatically created
- Achievement Unlock: New users automatically unlock the "AeThex Explorer" achievement
🔒 Security Notes
- Keep your Client Secrets secure and never commit them to version control
- Use environment variables for sensitive credentials in production
- Regularly rotate your OAuth credentials
- Monitor OAuth usage in your provider dashboards
🚀 Features Enabled
With OAuth configured, users can:
- One-click login with GitHub or Google
- Automatic profile setup with avatar and name from OAuth provider
- Seamless integration with existing AeThex community platform
- Achievement progression starting from first login
📞 Support
Your AeThex application will have fully functional social authentication once these providers are configured! 🎉