If I set up google auth on a z2jh setup with my personal google account, I can set an admin user by including admin: users: - myemail@gmail.com
in config.yaml
. However, if I try the same with a z2jh setup in my company’s domain, setting an admin does not seem to work (no admin page on the console).
Here are the auth setups. My company version (doesn’t work):
auth:
type: google
google:
clientId: "..................apps.googleusercontent.com"
clientSecret: "............."
callbackUrl: "http://if-jupyter.com/hub/oauth_callback"
hostedDomain: "mycompany.com"
loginService: "My Company"
admin:
users:
- me@mycompany.com
Personal account version (works):
auth:
type: google
google:
clientId: "......................apps.googleusercontent.com"
clientSecret: "................"
callbackUrl: "http://nl-jupyter.com/hub/oauth_callback"
admin:
users:
- me@gmail.com