SAML and XSRF - Jupyterhub 4.0.2


We have installed Jupyterhub 4.0.2 with SAML authentication. However when we authenticate via SAML it seems to not work reporting a 403 error reporting that the _xsrf token is missing. I can see that when the POST is sent via SAML it doesn’t have the token but when authenticating locally it does. How can I make sure the SAML post has this token?

Many thanks,

Is this the authenticator you’re using?

Maybe it needs to be updated to work with JupyterHub 4? If you turn on debug logging you may get more information on which call is missing the XSRF token.

Hi there yeah that is the one. Is there any other recommended authenticator for saml that is compatible with jupyterhub 4?

I don’t know of anything, maybe this is something the rest of the community can answer?

You could also open an issue on that project’s GitHub repo?