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
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,11 +10,11 @@ Add SAML support to your Python software using this library.
10
10
Forget those complicated libraries and use the open source library provided
11
11
and supported by OneLogin Inc.
12
12
13
-
This version supports Python3, There is a separate version that only support Python2: [python-saml](https://pypi.python.org/pypi/python-saml)
13
+
This version supports Python3, There is a separate version that only support Python2: [python-saml](https://pypi.python.org/pypi/python-saml)
14
14
15
15
#### Warning ####
16
16
17
-
Update python3-saml to 1.2.1 that patch 1.2.0 (that had a bug on signature validation process (when using wantAssertionsSigned and wantMessagesSigned).
17
+
Update python3-saml to 1.2.1 that patch 1.2.0 (that had a bug on signature validation process (when using wantAssertionsSigned and wantMessagesSigned).
18
18
19
19
1.2.0 version includes a security patch that contains extra validations that will prevent signature wrapping attacks.
20
20
@@ -93,7 +93,7 @@ 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).
96
+
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).
97
97
98
98
#### Option 2. Download from pypi ####
99
99
@@ -916,7 +916,7 @@ Auxiliary class that contains several methods
916
916
917
917
A class that contains methods to handle XMLs
918
918
919
-
****to_string*** Serialize an element to an encoded string representation of its XML tree.
919
+
****to_string*** Serialize an element to an encoded string representation of its XML tree.
920
920
****to_etree*** Parses an XML document or fragment from a string.
921
921
****validate_xml*** Validates a xml against a schema
922
922
****query*** Extracts nodes that match the query from the Element
@@ -930,7 +930,7 @@ A class that contains methods to obtain and parse metadata from IdP
930
930
****parse_remote*** Get the metadata XML from the provided URL and parse it, returning a dict with extracted data
931
931
****parse*** Parse the Identity Provider metadata and returns a dict with extracted data
932
932
****merge_settings*** Will update the settings with the provided new settings data extracted from the IdP metadata
933
-
933
+
934
934
935
935
For more info, look at the source code; each method is documented and details about what does and how to use it are provided. Make sure to also check the doc folder where HTML documentation about the classes and methods is provided.
936
936
@@ -1011,7 +1011,7 @@ The Onelogin's Python Toolkit allows you to provide the settings info in 2 ways:
1011
1011
1012
1012
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.
1013
1013
1014
-
First we need to edit the saml/settings.json, configure the SP part and review the metadata of the IdP and complete the IdP info. Later edit the saml/advanced_settings.json files and configure the how the toolkit will work. Check the settings section of this document if you have any doubt.
1014
+
First we need to edit the saml/settings.json, configure the SP part and review the metadata of the IdP and complete the IdP info. Later edit the saml/advanced_settings.json files and configure the how the toolkit will work. Check the settings section of this document if you have any doubt.
1015
1015
1016
1016
####IdP setup####
1017
1017
@@ -1044,7 +1044,7 @@ Notice that all the SAML Requests and Responses are handled at a unique view (in
1044
1044
You'll need a virtualenv with the toolkit installed on it.
1045
1045
1046
1046
To run the demo you need to install the requirements first. Load your
1047
-
virtualenv and execute:
1047
+
virtualenv and execute:
1048
1048
```
1049
1049
pip install -r demo-django/requirements.txt
1050
1050
```
@@ -1084,7 +1084,7 @@ The Onelogin's Python Toolkit allows you to provide the settings info in 2 ways:
1084
1084
1085
1085
After set the SAML_FOLDER in the demo/settings.py, the settings of the python toolkit will be loaded on the django web.
1086
1086
1087
-
First we need to edit the saml/settings.json, configure the SP part and review the metadata of the IdP and complete the IdP info. Later edit the saml/advanced_settings.json files and configure the how the toolkit will work. Check the settings section of this document if you have any doubt.
1087
+
First we need to edit the saml/settings.json, configure the SP part and review the metadata of the IdP and complete the IdP info. Later edit the saml/advanced_settings.json files and configure the how the toolkit will work. Check the settings section of this document if you have any doubt.
1088
1088
1089
1089
####IdP setup####
1090
1090
@@ -1096,7 +1096,7 @@ This demo works very similar to the flask-demo (We did it intentionally).
1096
1096
1097
1097
###Getting up and running on Heroku###
1098
1098
1099
-
Getting python3-saml up and running on Heroku will require some extra legwork: python3-saml depends on python-xmlsec which depends on headers from the xmlsec1-dev linux package to install correctly.
1099
+
Getting python3-saml up and running on Heroku will require some extra legwork: python3-saml depends on python-xmlsec which depends on headers from the xmlsec1-dev linux package to install correctly.
1100
1100
1101
1101
First you will need to add the ```apt``` buildpack to your build server:
0 commit comments