modifying README to add information about use with enterprise github

This commit is contained in:
Ruta Sakalauskaite 2016-01-21 21:54:29 +00:00
parent a9cf8b3313
commit 79b548dae6

View File

@ -86,6 +86,12 @@ The GitHub auth provider supports two additional parameters to restrict authenti
-github-org="": restrict logins to members of this organisation
-github-team="": restrict logins to members of this team
If you are using github enterprise, make sure you set the following to the appropriate url:
-login-url="<enterprise github url>/login/oauth/authorize"
-redeem-url="<enterprise github url>/login/oauth/access_token"
-validate-url="<enterprise github api url>/user/emails"
### LinkedIn Auth Provider