https://github.com/glocktober/bottlesaml
SAML Service Provider and Auth modules for the Bottle Framework
https://github.com/glocktober/bottlesaml
bottle python saml2
Last synced: 7 months ago
JSON representation
SAML Service Provider and Auth modules for the Bottle Framework
- Host: GitHub
- URL: https://github.com/glocktober/bottlesaml
- Owner: Glocktober
- License: mit
- Created: 2021-08-12T02:10:55.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-08-27T22:48:22.000Z (almost 4 years ago)
- Last Synced: 2025-03-17T10:09:42.728Z (about 1 year ago)
- Topics: bottle, python, saml2
- Language: Python
- Homepage:
- Size: 49.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# BottleSaml
**BottleSaml** is a Python module for the [Bottle web framework.](https://github.com/bottlepy/bottle) providing **SamlSP()** - [an implementation of a SAML *Service Provider* for **Bottle** web apps](docs/READMESP.md). This permits bottle apps to authenticated with a SAML Identity Provider (IdP).
This module can be used on it's own, or combined with [BottleAuth](https://github.com/Glocktober/BottleAuth). BottleAuth provides path and route authentication and authorization tools.
Both modules in **BottleSaml** rely on persistent *session* data in the form of a Python `dict` accessed off the Bottle **`request`** object (*i.e.* `request.session`). By default **BottleSaml** will use the [BottleSessions module](https://github.com/Glocktober/BottleSessions) to provide this - but any session middleware that can add a `session` dict to the `request` object can be used.
The goal of this module is to provide easy to use tools for using SAML identity management platforms in Bottle apps.