Fix my bug
This commit is contained in:
parent
5b120fce96
commit
67d642040f
|
@ -13,7 +13,7 @@ hub:
|
||||||
oauthCode: |
|
oauthCode: |
|
||||||
c.JupyterHub.authenticator_class = "generic-oauth"
|
c.JupyterHub.authenticator_class = "generic-oauth"
|
||||||
c.GenericOAuthenticator.client_id = os.environ['NEXTCLOUD_CLIENT_ID']
|
c.GenericOAuthenticator.client_id = os.environ['NEXTCLOUD_CLIENT_ID']
|
||||||
c.GenericOAuthenticator.client_secret = os.environ['NEXTCLOUD_CLIENT_ID']
|
c.GenericOAuthenticator.client_secret = os.environ['NEXTCLOUD_CLIENT_SECRET']
|
||||||
c.GenericOAuthenticator.login_service = 'Sunet Drive'
|
c.GenericOAuthenticator.login_service = 'Sunet Drive'
|
||||||
c.GenericOAuthenticator.username_claim = lambda r: r.get('ocs', {}).get('data', {}).get('id')
|
c.GenericOAuthenticator.username_claim = lambda r: r.get('ocs', {}).get('data', {}).get('id')
|
||||||
c.GenericOAuthenticator.username_key = lambda r: r.get('ocs', {}).get('data', {}).get('id')
|
c.GenericOAuthenticator.username_key = lambda r: r.get('ocs', {}).get('data', {}).get('id')
|
||||||
|
|
Loading…
Reference in a new issue