You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -37,7 +36,7 @@ Update ``python-saml`` to ``2.2.0``, this version includes a security patch that
37
36
38
37
#### Security Guidelines ####
39
38
40
-
If you believe you have discovered a security vulnerability in this toolkit, please report it at https://www.onelogin.com/security with a description. We follow responsible disclosure guidelines, and will work with you to quickly find a resolution.
39
+
If you believe you have discovered a security vulnerability in this toolkit, please report it by mail to the maintainer: [email protected]
41
40
42
41
Why add SAML support to my software?
43
42
------------------------------------
@@ -65,7 +64,7 @@ since 2002, but lately it is becoming popular due its advantages:
65
64
General Description
66
65
-------------------
67
66
68
-
OneLogin's SAML Python toolkit lets you turn your Python application into a SP
67
+
SAML Python toolkit lets you turn your Python application into a SP
69
68
(Service Provider) that can be connected to an IdP (Identity Provider).
70
69
71
70
**Supports:**
@@ -86,7 +85,7 @@ OneLogin's SAML Python toolkit lets you turn your Python application into a SP
86
85
***Easy to use** - Programmer will be allowed to code high-level and
87
86
low-level programming, 2 easy to use APIs are available.
88
87
***Tested** - Thoroughly tested.
89
-
***Popular** - OneLogin's customers use it. Add easy support to your Django/Flask/Bottle/Pyramid web projects.
88
+
***Popular** - Developers use it. Add easy support to your Django/Flask/Bottle/Pyramid web projects.
90
89
91
90
92
91
Installation
@@ -120,8 +119,8 @@ $ brew install libxmlsec1
120
119
121
120
The toolkit is hosted on Github. You can download it from:
Copy the core of the library ``(src/onelogin/saml2 folder)`` and merge the setup.py inside the Python application. (Each application has its structure so take your time to locate the Python SAML toolkit in the best place).
127
126
@@ -177,7 +176,7 @@ In order to avoid them, the SP can keep a list of SAML Messages or Assertion IDs
177
176
to be stored the amount of time of the SAML Message life time, so
178
177
we don't need to store all processed message/assertion Ids, but the most recent ones.
179
178
180
-
The OneLogin_Saml2_Auth class contains the [get_last_request_id](https://github.com/onelogin/python-saml/blob/00b1f823b6c668b0dfb5e4a40d3709a4ceb2a6ae/src/onelogin/saml2/auth.py#L352), [get_last_message_id](https://github.com/onelogin/python-saml/blob/00b1f823b6c668b0dfb5e4a40d3709a4ceb2a6ae/src/onelogin/saml2/auth.py#L359) and [get_last_assertion_id](https://github.com/onelogin/python-saml/blob/00b1f823b6c668b0dfb5e4a40d3709a4ceb2a6ae/src/onelogin/saml2/auth.py#L366) methods to retrieve the IDs
179
+
The OneLogin_Saml2_Auth class contains the [get_last_request_id](https://github.com/SAML-Toolkits/python-saml/blob/00b1f823b6c668b0dfb5e4a40d3709a4ceb2a6ae/src/onelogin/saml2/auth.py#L352), [get_last_message_id](https://github.com/SAML-Toolkits/python-saml/blob/00b1f823b6c668b0dfb5e4a40d3709a4ceb2a6ae/src/onelogin/saml2/auth.py#L359) and [get_last_assertion_id](https://github.com/SAML-Toolkits/python-saml/blob/00b1f823b6c668b0dfb5e4a40d3709a4ceb2a6ae/src/onelogin/saml2/auth.py#L366) methods to retrieve the IDs
181
180
182
181
Checking that the ID of the current Message/Assertion does not exists in the lis of the ones already processed will prevent replay attacks.
183
182
@@ -187,7 +186,7 @@ Getting Started
187
186
188
187
### Knowing the toolkit ###
189
188
190
-
The new OneLogin SAML Toolkit contains different folders (``cert``, ``lib``, ``demo-django``, ``demo-flask``, ``demo-bottle`` and ``tests``) and some files.
189
+
The SAML Toolkit contains different folders (``cert``, ``lib``, ``demo-django``, ``demo-flask``, ``demo-bottle`` and ``tests``) and some files.
191
190
192
191
Let's start describing them:
193
192
@@ -300,7 +299,7 @@ This is the ``settings.json`` file:
300
299
// URL Location where the <Response> from the IdP will be returned
301
300
"url":"https://<sp_domain>/?acs",
302
301
// SAML protocol binding to be used when returning the <Response>
303
-
// message. OneLogin Toolkit supports this endpoint for the
302
+
// message. SAML Toolkit supports this endpoint for the
@@ -1008,7 +1007,7 @@ Described below are the main classes and methods that can be invoked from the SA
1008
1007
1009
1008
#### OneLogin_Saml2_Auth - auth.py ####
1010
1009
1011
-
Main class of OneLogin Python Toolkit
1010
+
Main class of SAML Python Toolkit
1012
1011
1013
1012
*`__init__` Initializes the SP SAML instance.
1014
1013
****login*** Initiates the SSO process.
@@ -1100,7 +1099,7 @@ SAML 2 Logout Response class
1100
1099
1101
1100
#### OneLogin_Saml2_Settings - settings.py ####
1102
1101
1103
-
Configuration of the OneLogin Python Toolkit
1102
+
Configuration of the SAML Python Toolkit
1104
1103
1105
1104
*`__init__` Initializes the settings: Sets the paths of the different folders and Loads settings info from settings file or array/object provided.
1106
1105
****check_settings*** Checks the settings info.
@@ -1263,7 +1262,7 @@ The flask project contains:
1263
1262
1264
1263
#### SP setup ####
1265
1264
1266
-
The Onelogin's Python Toolkit allows you to provide the settings info in 2 ways: Settings files or define a setting dict. In the ``demo-flask``, it uses the first method.
1265
+
The SAML Python Toolkit allows you to provide the settings info in 2 ways: Settings files or define a setting dict. In the ``demo-flask``, it uses the first method.
1267
1266
1268
1267
In the index.py file we define the ``app.config['SAML_PATH']``, that will target to the ``saml`` folder. We require it in order to load the settings files.
1269
1268
@@ -1336,7 +1335,7 @@ The django project contains:
1336
1335
1337
1336
#### SP setup ####
1338
1337
1339
-
The Onelogin's Python Toolkit allows you to provide the settings info in 2 ways: Settings files or define a setting dict. In the ``demo-django``, it uses the first method.
1338
+
The SAML Python Toolkit allows you to provide the settings info in 2 ways: Settings files or define a setting dict. In the ``demo-django``, it uses the first method.
1340
1339
1341
1340
After set the ``SAML_FOLDER`` in the ``demo/settings.py``, the settings of the python toolkit will be loaded on the django web.
1342
1341
@@ -1391,7 +1390,7 @@ The Pyramid project contains:
1391
1390
1392
1391
#### SP setup ####
1393
1392
1394
-
The Onelogin's Python Toolkit allows you to provide the settings info in 2 ways: Settings files or define a setting dict. In ``demo_pyramid`` the first method is used.
1393
+
The Python Toolkit allows you to provide the settings info in 2 ways: Settings files or define a setting dict. In ``demo_pyramid`` the first method is used.
1395
1394
1396
1395
In the views.py file we define the ``SAML_PATH``, which will target the ``saml`` folder. We require it in order to load the settings files.
0 commit comments