500: Internal Server Error (Unsupported url scheme)

Hi,

I have a running instance of JupyterHub that works with PAM authentication, but when I tried to enable OIDC auth, I can sign in properly through OIDC auth but I encounter a 500: Internal Server Error right after.

Looking at the logs, it says:

I can give more information (like my config file + more logs) if necessary but I tried looking at past issues on the github and found this Error when using generic oauthenticator · Issue #160 · jupyterhub/oauthenticator · GitHub but it didn’t really help unfortunately.

People on here have been super helpful so far, and I just wanted to say thank you for everything you’ve done to help me out!

Solved!

Just needed to add the token_url and userdata_url in the config file as well!