italia/spid-django

Name: spid-django

Owner: Developers Italia

Description: SPID authentication for Django

Created: 2017-09-20 07:53:38.0

Updated: 2017-12-28 12:05:44.0

Pushed: 2017-12-22 16:31:21.0

Homepage: null

Size: 314

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

django-spid-demo

Demo of a SPID authentication for Django, based on python3-saml.

Introduction

This is a django project with one demo app, that shows how to use Single Sign On authentication through a SPID Identity Provider (SAML).

Technical documentation on SPID and SAML is available at: https://github.com/italia/spid-docs and https://github.com/umbros/spid-docs/blob/master/pages/documentazione-e-utilita.md

Installation

General overview
Local development details

A test identity provider can be installed on your development environment (your laptop?), following instructions at: https://github.com/umbros/spid-docs/blob/master/pages/spid-ambiente-di-test.md

Here follows more detailed steps with some suggestions:

Useful debugging tools

Execution

When the server is running, the home page shows a login button that starts the SSO workflow.

Pressing the login button, a request is packed and sent to the IdP.

The IdP responds by redirecting you to its own login page.

You insert your credential (one of the user you just created)

The IdP redirects you to your SP, and a page with the attributes of the signed in user is shown.

TODOs


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.