File tree Expand file tree Collapse file tree 3 files changed +399
-246
lines changed
Expand file tree Collapse file tree 3 files changed +399
-246
lines changed Original file line number Diff line number Diff line change @@ -81,15 +81,9 @@ A typical configuration would look like this::
8181 'djangosaml2.backends.Saml2Backend',
8282 )
8383
84- .. note ::
85-
86- Before djangosaml2 0.5.0 this authentication backend was
87- automatically added by djangosaml2. This turned out to be
88- a bad idea since some applications want to use their own
89- custom policies for authorization and the authentication
90- backend is a good place to define that. Starting from
91- djangosaml2 0.5.0 it is now possible to define such
92- backends.
84+ It is possible to subclass the provided Saml2Backend and customize the behaviour
85+ by overriding some methods. This way you can perform your custom cleaning or authorization
86+ policy, and modify the way users are looked up and created.
9387
9488Finally we have to tell Django what the new login url we want to use is::
9589
You can’t perform that action at this time.
0 commit comments