Name: saml
Owner: NCATS Data Translator Project - Tangerine Team
Description: null
Created: 2017-09-12 23:05:23.0
Updated: 2017-09-12 23:06:08.0
Pushed: 2017-09-13 00:21:10.0
Homepage: null
Size: 13
Language: Jupyter Notebook
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This is an experiment towards a Jupyter notebook authenticating to a SAML IdP.
Nutshell:
Requires: Python3
clone git@github.com:NCATS-Tangerine/saml.git
aml
on3.6 -m venv <env>
ce <env>/bin/activate
install -r requirements.txt
ter notebook SAML_Authentication.ipynb
This should open a jupyter notebook window. Run the cells. Then, in a terminal window, run:
on client.py localhost saml.xml
The client reads a SAML response from a file, packages that as a field in a posted JSON object and sends it to our server.
Currently, this produces an error in the notebook saying that the XML is not properly formed. So there's probably an easier way to do the post. If you see the problem, don't hesitate to point it out.