Documentation Index
Fetch the complete documentation index at: https://docs.aspfox.com/llms.txt
Use this file to discover all available pages before exploring further.
OAuth providers are optional. AspFox works without them — email/password and magic link authentication are available regardless. Only the Google and GitHub login buttons require OAuth configuration.
Google OAuth
Create OAuth credentials
- Go to console.cloud.google.com
- Create a new project (or select an existing one)
- Go to APIs & Services → Credentials
- Click Create Credentials → OAuth 2.0 Client ID
- Application type: Web application
-
Add authorized redirect URIs:
Local development:
Production:
- Click Create
- Copy the Client ID and Client Secret
Add to .env
GitHub OAuth
Create an OAuth App
- Go to github.com/settings/developers
- Click OAuth Apps → New OAuth App
-
Fill in the form:
Local development:
- Application name:
Your App (Local) - Homepage URL:
http://localhost:5173 - Authorization callback URL:
http://localhost:5000/api/v1/auth/github/callback
- Application name:
Your App - Homepage URL:
https://yourdomain.com - Authorization callback URL:
https://api.yourdomain.com/api/v1/auth/github/callback
- Application name:
- Click Register application
- Copy the Client ID
- Click Generate a new client secret and copy it
Add to .env
Common issues
Separate OAuth apps for local and production — you cannot use the same redirect URI for bothlocalhost and a production domain. Create separate credentials for each environment, or add both redirect URIs to the same Google project. GitHub allows multiple redirect URIs per app; Google does too.
Scope: AspFox requests only email and profile scopes from Google, and user:email from GitHub. No additional scopes are needed.