Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitlab provider #1231

Merged
merged 4 commits into from
Dec 28, 2015
Merged

Gitlab provider #1231

merged 4 commits into from
Dec 28, 2015

Conversation

saily
Copy link
Contributor

@saily saily commented Dec 14, 2015

This GitLab provider enables OAuth2 authentication against GitLab. Use following settings in your DJANGO_SETTINGS_MODULE to use your private GitLab server as an OAuth2 provider.

# Personal GitLab server
GITLAB_USER_AUTHORIZATION_URL = 'https://your.gitlab.server.tld/oauth/authorize'
GITLAB_ACCESS_TOKEN_URL = 'https://your.gitlab.server.tld/oauth/token'
GITLAB_USER_INFO_URL = 'https://your.gitlab.server.tld/api/v3/user'

@saily
Copy link
Contributor Author

saily commented Dec 15, 2015

Should these variables be provided in SOCIALACCOUNT_PROVIDERS?

@saily
Copy link
Contributor Author

saily commented Dec 18, 2015

Hi @pennersr please find attached my PR for authentication on hosted or private gitlab servers.

@ghost
Copy link

ghost commented Dec 25, 2015

👍 Looks good.

pennersr added a commit that referenced this pull request Dec 28, 2015
@pennersr pennersr merged commit 6bd6139 into pennersr:master Dec 28, 2015
@saily saily deleted the gitlab-provider branch December 29, 2015 11:20
@araykopotay
Copy link

👍 looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants