Welcome to MiniSAML documentation!

MiniSAML is a Python library which allows building SAML 2 Service Providers easily. It deliberately implements only a subset of the SAML 2 specification, focusing on the parts that are most likely to be encountered in the real world, in order to offer a better API for developers and make it difficult to do the wrong thing.

A short introduction to SAML 2

A short introduction to some basic SAML 2 concepts which are supported by MiniSAML.


A complete walk through on how to build accept SAML authentication in your application.

How To Guides

Practical guides on some more advanced use cases.

API Reference

API references.

Indices and tables