mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 21:02:41 +01:00
Clarify how to configure OAuth, particularly for GitHub
Summary: GitHub needs an unguessably specific URI in its configuration for OAuth. Test Plan: Regenerated documentation and read it over. (These instructions are based on the existing applications, which appear to function correctly.) Reviewed By: j3kuntz Reviewers: jungejason, aran, tuomaspelkonen, j3kuntz CC: aran, epriestley, j3kuntz Differential Revision: 307
This commit is contained in:
parent
c67a749036
commit
e70376497f
1 changed files with 15 additions and 0 deletions
|
@ -49,6 +49,14 @@ To configure Facebook OAuth, create a new Facebook Application:
|
|||
|
||||
https://www.facebook.com/developers/createapp.php
|
||||
|
||||
You should set these things in your application:
|
||||
|
||||
- **Site URL**: Set this to your full domain with protocol, like
|
||||
"##https://phabricator.example.com/##".
|
||||
- **Site Domain**: Set this to the entire domain, like ##example.com##. You
|
||||
might be able to get away with including the subdomain if you want to
|
||||
scope more tightly.
|
||||
|
||||
Once that is set up, edit your Phabricator configuration and set these keys:
|
||||
|
||||
- **facebook.auth-enabled**: set this to ##true##.
|
||||
|
@ -72,6 +80,13 @@ To configure GitHub OAuth, create a new GitHub Application:
|
|||
|
||||
https://github.com/account/applications/new
|
||||
|
||||
You should set these things in your application:
|
||||
|
||||
- **URL**: Set this to the full domain with protocol, like
|
||||
"##https://phabricator.example.com/##".
|
||||
- **Callback URL**: Set this to your domain plus "##/oauth/github/login/##",
|
||||
like "##https://phabricator.example.com/oauth/github/login/##".
|
||||
|
||||
Once you've created an application, edit your Phabricator configuration and
|
||||
set these keys:
|
||||
|
||||
|
|
Loading…
Reference in a new issue