Jupyterhub-keycloak: login succeeds, spawn fails with auth_state None

Hi Everyone,

I have Jupyterhub on Kubernetes using Kubespawner w/ Keycloak authentication via GenericOAuthenticator.

Keycloak authentication and subsequent Jupyterhub login works fine. However, the auth_state is None, which causes the Kubespawner to fail:

Any ideas as to what config param I am missing that is causing the auth_state to be None?

–John

problem solved! Read this post by @minrk

and now auth_state is not None: