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
Actually this is not really required since djangosaml2 does not include
52
-
any data model. The only reason we include it is to be able to run
53
-
djangosaml2 test suite from our project, something you should always
54
-
do to make sure it is compatible with your Django version and environment.
55
-
56
51
.. Note::
57
52
58
53
When you finish the configuration you can run the djangosaml2 test suite as
@@ -114,7 +109,7 @@ federations where the logout protocol is not always available.
114
109
115
110
If you want to allow several authentication mechanisms in your project
116
111
you should set the LOGIN_URL option to another view and put a link in such
117
-
view to the ``/saml2/login/`` view.
112
+
view to djangosaml2 wb path, like ``/saml2/login/``.
118
113
119
114
Handling Post-Login Redirects
120
115
=============================
@@ -131,7 +126,7 @@ hostnames to be used for the post-login redirect. In such cases, the setting::
131
126
May be set to a list of allowed post-login redirect hostnames (note, the URL components beyond the hostname
132
127
may be specified by the client - typically with the ?next= parameter.)
133
128
134
-
In the absence of a ?next=parameter, the LOGIN_REDIRECT_URL setting will be used (assuming the destination hostname
129
+
In the absence of a `?next=parameter`, the `LOGIN_REDIRECT_URL` setting will be used (assuming the destination hostname
135
130
either matches the output of get_host() or is included in the SAML_ALLOWED_HOSTS setting)
136
131
137
132
Preferred sso binding
@@ -220,7 +215,7 @@ In SAML standard doc, section 4.1.4.5 it states
220
215
221
216
The service provider MUST ensure that bearer assertions are not replayed, by maintaining the set of used ID values for the length of time for which the assertion would be considered valid based on the NotOnOrAfter attribute in the <SubjectConfirmationData>
222
217
223
-
djangosaml2 provides a hook 'is_authorized' for the SP to store assertion IDs and implement replay prevention with your choice of storage.
218
+
djangosaml2 provides a hook 'is_authorized' for the SP to store assertion IDs and implement replay prevention with your choice of storage.
0 commit comments