Pass github enterprise base url, derive urls for authentication

This commit is contained in:
Paul Pacheco
2020-07-30 09:33:12 -05:00
parent c0feeecc29
commit 5cde7069cf
3 changed files with 15 additions and 14 deletions
+1 -3
View File
@@ -37,9 +37,7 @@ for github enterprise:
```bash
export AUTH_GITHUB_CLIENT_ID=x
export AUTH_GITHUB_CLIENT_SECRET=x
export AUTH_GITHUB_AUTHORIZATION_URL=https://ENTERPRISE_INSTANCE_URL/login/oauth/authorize
export AUTH_GITHUB_TOKEN_URL=https://ENTERPRISE_INSTANCE_URL/login/oauth/access_token
export AUTH_GITHUB_USER_PROFILE_URL=https://ENTERPRISE_INSTANCE_URL/api/v3/user
export AUTH_GITHUB_ENTERPRISE_INSTANCE_URL=https://x
```
### Gitlab