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
|
||||
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue