NCATS-Tangerine/saml

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

saml

This is an experiment towards a Jupyter notebook authenticating to a SAML IdP.

Nutshell:

Install

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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.