Skip to content
Snippets Groups Projects
Verified Commit 8874dc7e authored by Olivier Benz's avatar Olivier Benz
Browse files

Fix GitLab OAuth

- Add callback URL
parent 818d8c57
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,9 @@ import sys
# Default: 'jupyterhub.auth.PAMAuthenticator'
from oauthenticator.gitlab import GitLabOAuthenticator
c.JupyterHub.authenticator_class = GitLabOAuthenticator
c.GitLabOAuthenticator.oauth_callback_url = 'https://jupyter.{domain}/hub/oauth_callback'.format(
domain = os.environ['JH_DOMAIN']
)
## url for the database. e.g. `sqlite:///jupyterhub.sqlite`
# Default: 'sqlite:///jupyterhub.sqlite'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment