JupyterHub + Okta - not working

I have been trying to work on getting Okta to work with JupyterHub over the last day, and I have tried to use the standard authenticators present - GenericOAuthenticator, and even LocalAuthenticator, but nothing seems to be working. I have verified that the correct environment variables are set, including:

  • OAUTH2_AUTHORIZE_URL
  • OAUTH2_USERDATA_URL
  • OAUTH2_TOKEN_URL

I have also been setting, on the authenticator class, the following:

  • client_id
  • client_secre
  • login_service
  • scope
  • userdata_url
  • token_url
  • username_key

Any advice would be helpful, since it seems to not be straightforward…