SSO documentation improved
This commit is contained in:
parent
1503d47df8
commit
bff687df68
1 changed files with 23 additions and 15 deletions
|
|
@ -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
|
The client ID for the debshots and the private key must be set as environment
|
||||||
variables before running the application:
|
variables before running the application:
|
||||||
|
|
||||||
* GOOGLE_CLIENT_ID=…
|
export GOOGLE_CLIENT_ID=…
|
||||||
* GOOGLE_CLIENT_SECRET=…
|
export GOOGLE_CLIENT_SECRET=…
|
||||||
|
|
||||||
To manage OAuth applications at Google: https://console.developers.google.com/apis/credentials
|
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
|
## Amazon
|
||||||
|
|
||||||
The client ID for the debshots and the secret must be set as environment
|
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=…
|
Client ID and secret:
|
||||||
* AMAZON_CLIENT_SECRET=…
|
|
||||||
|
|
||||||
|
export AMAZON_CLIENT_ID=…
|
||||||
Client ID:
|
export AMAZON_CLIENT_SECRET=…
|
||||||
|
|
||||||
amzn1.application-oa2-client.78d832919fc24456b0636762cf18efd9
|
|
||||||
|
|
||||||
Client Secret:
|
|
||||||
|
|
||||||
8c495d0940ca4100313c03e93b8b4240eef256d2fdbe672718506f29f5a20f61
|
|
||||||
|
|
||||||
These credential only work with https://screenshots.debian.net/
|
These credential only work with https://screenshots.debian.net/
|
||||||
|
|
||||||
Available login buttons: https://login.amazon.com/button-guide
|
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
|
## Launchpad
|
||||||
|
|
||||||
TODO
|
No configuration necessary.
|
||||||
|
|
||||||
## Github
|
## 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
|
## Caveats
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue