@@ -224,6 +224,7 @@ We will see a typical configuration for protecting a Django project::
224224 'optional_attributes': ['eduPersonAffiliation'],
225225
226226 # 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.
227228 'idp': {
228229 # we do not need a WAYF service since there is
229230 # only an IdP defined here. This IdP should be
@@ -338,7 +339,7 @@ Custom error handler
338339
339340When an error occurs during the authentication flow, djangosaml2 will render
340341a 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::
342343
343344 SAML_ACS_FAILURE_RESPONSE_FUNCTION = 'python.path.to.your.view'
344345
@@ -395,10 +396,12 @@ can set in the settings.py file::
395396
396397This setting is True by default.
397398
399+ The following setting lets you specify a URL for redirection after a successful
400+ authentication::
401+
398402 ACS_DEFAULT_REDIRECT_URL = reverse_lazy('some_url_name')
399403
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
402405IdP initiated login and the IdP does not have a configured RelayState
403406parameter. The default is ``/ ``.
404407
0 commit comments