GitHub
Learn how to configure GitHub OAuth for authentication in your Floot app.
GitHub Developer Settings
Register a new OAuth app
Go to OAuth apps page → New OAuth App
- Application name > give a meaningful name
- Homepage URL > type the full URL to your app's website
- Authorization callback URL > options:
http://127.0.0.1:54321/auth/v1/callback
https://<project-id>.supabase.co/auth/v1/callback
https://<your.domain>:54321/auth/v1/callback
- Enable Device Flow > unchecked
→ Register application
Get Credentials
Open your created OAuth app
Client ID
Copy and save your Client ID
Client Secret
- Click
Generate a new client secret
- Copy and save your Client secret
When using Supabase Cloud, register the Client ID and Secret that will be using your Supabase project in the GitHub provider configuration in the Supabase dashboard.
Floot App Setup
Environment Variables
# The client ID of the GitHub OAuth application.
OAUTH_GITHUB_CLIENT_ID=
# The client secret of the GitHub OAuth application.
OAUTH_GITHUB_SECRET=
OAuth deep link redirection (optional)
Before You Proceed
Only mandatory if you did not provide a custom organization at Floot app creation! More info here!
GitHub login with Supabase is done through the OAuth method.
This method of signing in is web based, and will open a browser window to perform the sign in. For non-web platforms, the user is brought back to the app via deep linking, which is already setup by default in every Floot app.
→ Setup OAuth redirection by following this guide!