File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -379,12 +379,9 @@ SAML_ATTRIBUTE_MAPPING option in your settings.py::
379379where the keys of this dictionary are SAML user attributes and the values
380380are Django User attributes.
381381
382- If you are using Django user profile objects to store extra attributes
383- about your user you can add those attributes to the SAML_ATTRIBUTE_MAPPING
384- dictionary. For each (key, value) pair, djangosaml2 will try to store the
385- attribute in the User model if there is a matching field in that model.
386- Otherwise it will try to do the same with your profile custom model. For
387- multi-valued attributes only the first value is assigned to the destination field.
382+ For each (key, value) pair, djangosaml2 will try to store the attribute (key) in your
383+ configured `User ` model if the matching fields exists on that model. For multi-valued
384+ attributes only the first value is assigned to the destination field.
388385
389386Alternatively, custom processing of attributes can be achieved by setting the
390387value(s) in the SAML_ATTRIBUTE_MAPPING, to name(s) of method(s) defined on a
You can’t perform that action at this time.
0 commit comments