Skip to content

Commit c526b02

Browse files
committed
README
1 parent 8d9b692 commit c526b02

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ venv
1212
tags
1313
.idea/
1414
.vscode/
15+
build/
16+
dist/

README.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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

339340
When an error occurs during the authentication flow, djangosaml2 will render
340341
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::
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

396397
This 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
402405
IdP initiated login and the IdP does not have a configured RelayState
403406
parameter. The default is ``/``.
404407

0 commit comments

Comments
 (0)