Add GitLab provider

This commit is contained in:
pmosbach
2016-02-17 06:19:52 -06:00
parent b1ccb058d3
commit 034612bf8b
4 changed files with 200 additions and 0 deletions
+12
View File
@@ -31,6 +31,7 @@ Valid providers are :
* [Google](#google-auth-provider) *default*
* [Azure](#azure-auth-provider)
* [GitHub](#github-auth-provider)
* [GitLab](#gitlab-auth-provider)
* [LinkedIn](#linkedin-auth-provider)
* [MyUSA](#myusa-auth-provider)
@@ -103,6 +104,17 @@ If you are using github enterprise, make sure you set the following to the appro
-validate-url="<enterprise github api url>/user/emails"
### GitLab Auth Provider
Whether you are using GitLab.com or self-hosting GitLab, follow [these steps to add an application](http://doc.gitlab.com/ce/integration/oauth_provider.html)
If you are using self-hosted GitLab, make sure you set the following to the appropriate URL:
-login-url="<your gitlab url>/oauth/authorize"
-redeem-url="<your gitlab url>/oauth/token"
-validate-url="<your gitlab url>/api/v3/user"
### LinkedIn Auth Provider
For LinkedIn, the registration steps are: