You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to use django-scim2 in a project, I noticed, that the default UserFilterQuery uses a custom SQL query building class under the hood. This is also the case for the default GroupFilterParser. It could also very well be that I overlooked something.
Anyway, I tried to work around this by using a custom filter parsers, would like to share what I tried, and could currently see no better option than filing an issue here 🙂.
The custom parsers look something like this (everything that was needed seemed to be already there in the scim2_filter_parser):
While trying to use
django-scim2
in a project, I noticed, that the defaultUserFilterQuery
uses a custom SQL query building class under the hood. This is also the case for the defaultGroupFilterParser
. It could also very well be that I overlooked something.Anyway, I tried to work around this by using a custom filter parsers, would like to share what I tried, and could currently see no better option than filing an issue here 🙂.
The custom parsers look something like this (everything that was needed seemed to be already there in the
scim2_filter_parser
):I set them in the
SCIM_SERVICE_PROVIDER
configuration withinsettings.py
like this:And I have a custom
UsersView
andGroupsView
that look something like this:I hope that this can be of use and If you have any more question, please let me know.
The text was updated successfully, but these errors were encountered: