Skip to content

How to get OAuth ID and Secret🔗

Note: Some providers accept non official TLDs, so you can add local domain like your-domain.vm to redirect urls in order to be able to test in local

Linkedin🔗

  1. Create a Linkedin app on https://www.linkedin.com/developers/apps/new
  2. Add redirect url (you can add both staging and production url)
    • https://your-domain.com/login/check-linkedin
    • https://staging.your-domain.com/login/check-linkedin
  3. Add the Privacy company url
    • https://your-domain.com/privacy
  4. Once the app created, go to the auth tab and get Client ID and Client Secret

Note: accepts non offical TLDs

Google🔗

  1. Go to https://console.developers.google.com/apis/credentials
  2. At the top bottom, click on the button on the right of "Google APIs" logo, it open a popin
  3. Click on "New project" on the top right and create a project
  4. Check to the right of the "Google APIs" your new project is selected, else click on the button and select it.
  5. Create a "OAuth Authorization Screen"
  6. Select "External"
  7. Add your authorized domain (both staging and production, without scheme)
    • your-domain.com
    • staging.your-domain.com
  8. Set the following properties :
    • App homepage
    • App privacy url
    • App terms url
  9. Click on "+ Create credentials" then on "ID Client Oauth"
  10. Select "Web Application"
  11. Add the "Authorized redirect URIs" (both staging and production) :
    • https://your-domain.com/login/check-google
    • https://staging.your-domain.com/login/check-google
  12. Once created, get Client ID and Client Secret.

Note: doesn't accept non offical TLDs

Facebook🔗

TODO


Last update: December 20, 2024