pysaml2 icon indicating copy to clipboard operation
pysaml2 copied to clipboard

Add documentation on minimal working example of an IdP

Open skoranda opened this issue 5 years ago • 2 comments

The documentation should cover how to create the IdP from configuration, process an authentication request, and send a signed assertion/response.

skoranda avatar Sep 15 '20 13:09 skoranda

This would be good point to start from https://github.com/UniversitaDellaCalabria/uniAuth/blob/004a4b50730990c625b23e7a4d4961ed40127d3b/uniauth/urls.py#L7

Each resource matches to those functions that handles persistence (SAMLrequests and generally session management) and process requests following those until the response happens. A general I/O schema that explain which pysaml2 internals would be involved each time, where and how, which arguments would be carried in the flow, from/to pysaml2

peppelinux avatar Sep 15 '20 14:09 peppelinux

yes this is much needed. The example idp is confusing to follow, just need to know how to configure IDP with key/cert to give metadata, configure an SP to send response to, configure Identity attributes to pass. No clear 1, 2, 3 step docs for this.

bjm88 avatar Nov 27 '21 19:11 bjm88