From bff687df688e50ad8a2756db20058b16807360dd Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Wed, 8 Aug 2018 11:39:56 +0200 Subject: [PATCH] SSO documentation improved --- doc/README.authentication.md | 38 ++++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/doc/README.authentication.md b/doc/README.authentication.md index efa1b29..3419f07 100644 --- a/doc/README.authentication.md +++ b/doc/README.authentication.md @@ -18,8 +18,8 @@ https://github.com/omniauth/omniauth/wiki/List-of-Strategies The client ID for the debshots and the private key must be set as environment variables before running the application: -* GOOGLE_CLIENT_ID=… -* GOOGLE_CLIENT_SECRET=… + export GOOGLE_CLIENT_ID=… + export GOOGLE_CLIENT_SECRET=… To manage OAuth applications at Google: https://console.developers.google.com/apis/credentials @@ -31,31 +31,39 @@ Authorized callback URLs must be set to: ## Amazon The client ID for the debshots and the secret must be set as environment -variables before running the application: +variables before running the application. -* AMAZON_CLIENT_ID=… -* AMAZON_CLIENT_SECRET=… +Client ID and secret: - -Client ID: - - amzn1.application-oa2-client.78d832919fc24456b0636762cf18efd9 - -Client Secret: - - 8c495d0940ca4100313c03e93b8b4240eef256d2fdbe672718506f29f5a20f61 + export AMAZON_CLIENT_ID=… + export AMAZON_CLIENT_SECRET=… These credential only work with https://screenshots.debian.net/ Available login buttons: https://login.amazon.com/button-guide +Make sure that the allowed callback URL is: +https://screenshots.debian.net/users/auth/amazon/callback + ## Launchpad -TODO +No configuration necessary. ## Github -TODO +Environment variables have to be set before starting the application: + + export GITHUB_KEY=… + export GITHUB_SECRET=… + +Keys can be managed at https://github.com/settings/applications + +Make sure that the allowed callback URL is: +https://screenshots.debian.net/users/auth/github/callback + +## StackExchange + +No configuration necessary. ## Caveats