🚀
ShipWithDjango Documentation
  • Welcome to ShipWithDjango Documentation
  • When and How to use ShipWithDjango?
  • Getting Started
    • Obtaining a license
    • Downloading ShipWithDjango
    • Running locally
    • Next steps
  • Platform
    • Default Configuration
    • Subnavigation
  • Theme
    • Tailwind CSS
    • Configuration
  • Secret Management
    • Default Configuration
    • Setting your environment variables
    • Third-party providers
      • Infisical
      • AWS Secrets Manager
      • Azure Key Vault
    • Order of retrieval
  • Authentication
    • Default Configuration
    • GitHub
    • LinkedIn
  • Emailing
    • Default Configuration
    • Using SendGrid
    • Using SMTP
    • Using the task queue for sending emails
  • Payments & Billing
    • Billing
    • Stripe
  • OpenAI/Dall-E
    • Default Configuration
  • API
    • Django REST framework
    • Built-in API utilities
    • Postman
  • Logging
    • Default Configuration
    • Using Sentry
    • Using Better Stack
  • Localization
    • Translations
Powered by GitBook
On this page
  1. Authentication

GitHub

PreviousDefault ConfigurationNextLinkedIn

Last updated 9 months ago

To allow users to sign up and log in using their GitHub accounts, set ALLOW_GITHUB_LOGIN to True. Additionally, you will need to configure your GitHub application by registering it with GitHub:

  1. Visit while logged into your GitHub account.

  2. Fill in the required details. Make sure the Authorization callback URL is set to https://YOUR_DOMAIN_HERE.COM/swd/accounts/github/login/callback/.

  3. Once your application is created, GitHub will provide you with a Client ID and Client Secret.

  4. Update the GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET in your CONFIG/authentication.py config file with these values.

GitHub Applications