Skip to content

Instantly share code, notes, and snippets.

@MuhammadQuran17
Created October 5, 2025 12:11
Show Gist options
  • Select an option

  • Save MuhammadQuran17/9ed115ca7d58b562f124e3cbc93cd54a to your computer and use it in GitHub Desktop.

Select an option

Save MuhammadQuran17/9ed115ca7d58b562f124e3cbc93cd54a to your computer and use it in GitHub Desktop.
SSO helper

SSO

How to enable

Google

  1. Link: https://console.cloud.google.com/apis/credentials?project=isra36&inv=1&invt=AbjOdQ
  2. Type + Credentials : Create OAuth client ID
  3. No need for: Authorized JavaScript origins
  4. Authorized redirect URIs: http://localhost:8888/auth/google/callback , http://projectdomain.com/auth/google/callback
  5. Fill branding. Fill Privacy-Policy
  6. You will be in test mode, so you should add test emails, and you can log in only with this test emails. When you will be ready then you should publish this client. It can take some time after publishing you will have limit 100.000 per day free.

Github

  1. Create a new free organization
  2. Go to Settings
  3. Go to Developer Settings at the bottom
  4. Press OAuth Apps + Create one
  5. Don't need Enable Device Flow. because it needed only for CLI's and GCM
  6. Create new secret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment