Can not implement Google Oauth

Trying to implement Google authentification for login.
Modified config.yaml
config:
GoogleOAuthenticator:
client_id: XXXX.apps.googleusercontent.com
client_secret: XXXXX
oauth_callback_url: https://my.domain.com/hub/oauth_callback
hosted_domain:
- my.domain.com
login_service: Google
JupyterHub:
authenticator_class: google
admin_users:
- xxxxx@gmail.com

On domain I have a page with a button

   Sign in with Google

When clicked on the button nothing happens.

Chrome shows login document returns 304

Thanks

Hi! Please could you:

Thanks!

I solved this problem.
In login.html

Sign in with {{login_service}}

login_url was calling
/hub/login?next=

I changed this to
/hub/oauth_login?next=

It worked. Now I have new problems like emails defined as admin are users and anyone with gmail adress can access to the site although I defined allowed_users in config

Thanks