@@ -224,6 +224,7 @@ We will see a typical configuration for protecting a Django project::
224
224
'optional_attributes': ['eduPersonAffiliation'],
225
225
226
226
# in this section the list of IdPs we talk to are defined
227
+ # This is not mandatory! All the IdP available in the metadata will be considered.
227
228
'idp': {
228
229
# we do not need a WAYF service since there is
229
230
# only an IdP defined here. This IdP should be
@@ -338,7 +339,7 @@ Custom error handler
338
339
339
340
When an error occurs during the authentication flow, djangosaml2 will render
340
341
a simple error page with an error message and status code. You can customize
341
- this behaviour by specifying the path to your own error handler in the settings:
342
+ this behaviour by specifying the path to your own error handler in the settings::
342
343
343
344
SAML_ACS_FAILURE_RESPONSE_FUNCTION = 'python.path.to.your.view'
344
345
@@ -395,10 +396,12 @@ can set in the settings.py file::
395
396
396
397
This setting is True by default.
397
398
399
+ The following setting lets you specify a URL for redirection after a successful
400
+ authentication::
401
+
398
402
ACS_DEFAULT_REDIRECT_URL = reverse_lazy('some_url_name')
399
403
400
- This setting lets you specify a URL for redirection after a successful
401
- authentication. Particularly useful when you only plan to use
404
+ Particularly useful when you only plan to use
402
405
IdP initiated login and the IdP does not have a configured RelayState
403
406
parameter. The default is ``/ ``.
404
407
0 commit comments