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::
81
81
'djangosaml2.backends.Saml2Backend',
82
82
)
83
83
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.
93
87
94
88
Finally we have to tell Django what the new login url we want to use is::
95
89
You can’t perform that action at this time.
0 commit comments