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🔗
- Create a Linkedin app on https://www.linkedin.com/developers/apps/new
- 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
- Add the Privacy company url
- https://your-domain.com/privacy
- Once the app created, go to the auth tab and get
Client ID
andClient Secret
Note: accepts non offical TLDs
Google🔗
- Go to https://console.developers.google.com/apis/credentials
- At the top bottom, click on the button on the right of "Google APIs" logo, it open a popin
- Click on "New project" on the top right and create a project
- Check to the right of the "Google APIs" your new project is selected, else click on the button and select it.
- Create a "OAuth Authorization Screen"
- Select "External"
- Add your authorized domain (both staging and production, without scheme)
- your-domain.com
- staging.your-domain.com
- Set the following properties :
- App homepage
- App privacy url
- App terms url
- Click on "+ Create credentials" then on "ID Client Oauth"
- Select "Web Application"
- Add the "Authorized redirect URIs" (both staging and production) :
- https://your-domain.com/login/check-google
- https://staging.your-domain.com/login/check-google
- Once created, get
Client ID
andClient Secret
.
Note: doesn't accept non offical TLDs
Facebook🔗
TODO
Last update: December 20, 2024