After a lot of trial and error this is the basic working configuration I have found
hub:
config:
# https://zero-to-jupyterhub.readthedocs.io/en/latest/administrator/authentication.html#id1
# https://dex.somedomain.net/.well-known/openid-configuration
GenericOAuthenticator:
client_id: JupyterHub-auth