Skip to content
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.

Setting up OAuth

Max Schmitt edited this page Nov 30, 2017 · 6 revisions

OAuth

Google

Visit console.cloud.google.com and create or use an existing project, go to APIs & Services -> Credentials and create there an OAuth ClientID for the application type WebApplicaton. There you get the ClientID and the ClientSecret for your configuration. It's important, that you set in the Google Cloud Platform YOUR_URL/api/v1/auth/google/callback as an authorized redirect URL.

Microsoft

Visit apps.dev.microsoft.com and register an application. To set the callback URL, you need to click on the Add Platform button there you select Web and enter as it YOUR_URL/api/v1/auth/microsoft/callback. After that you can generate a password on the Generate New Password button which represents your ClientSecret.

GitHub

Visit github.com and create a new OAuth application. For the callback URL use YOUR_URL/api/v1/auth/github/callback. The other values are not relevant. There you get as expected the ClientID and the ClientSecret.

General information

  • Replace YOUR_URL with your origin URL. In the end the URL should look e.g. like http://shortener.google.com/....
Clone this wiki locally