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:
kmdeisowhtsalsekkzqdNavigate to Authentication > Providers
2. Configure Site URL
Go to Authentication > Settings
Set your Site URL to:
https://aethex.devAdd Redirect URLs:
https://aethex.dev/dashboardhttp://localhost:8080/dashboard(for development)
π GitHub OAuth Setup
1. Create GitHub OAuth App
Click New OAuth App
Fill in the details:
Application name:
AeThex ApplicationHomepage URL:
https://aethex.devAuthorization callback URL:
https://kmdeisowhtsalsekkzqd.supabase.co/auth/v1/callback
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! π
Last updated
