I should implement SAML authentication (Okta) in Jupyter. I have tried to search but didn't find anything. Maybe someone knows the solution. Thanks for help.
-
1Hey, did you figure this out in the end? – Avision Jul 19 '16 at 08:37
-
Hey, do you mean you want to extend JupyterHub functionality (and make it available for others)? – Dominik Jul 20 '16 at 12:57
-
@Avision I will send a reply when it will be done. I haven't done it yet. – Oleh Martushevsky Jul 25 '16 at 13:10
2 Answers
If you are looking to add Single Sign On to Jupyterhub via Okta, then I strongly suggest taking advantage of OpenID Connect. This will be much easier than adding SAML support.
If you need to implement SAML specifically, the typical way would be to use PySAML2, I wrote a detailed guide for adding SAML support to Python/Flask.
However, it looks like Jupyterhub uses Tornado and also appears that PySAML2 doesn't work with Tornado. If you are looking to add SAML support to Jupyter hub and you are feeling very adventurous, then another avenue to investigate would be to implement your own SAML validation using signxml.

- 1,178
- 8
- 18
You should try using the jupyterhub-samlauthenticator.
Check it out here: https://github.com/bluedatainc/jupyterhub-samlauthenticator

- 370
- 5
- 17