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
However, I can’t find a way to filter users by this identifier via the API. As far as I know, it’s not possible to filter directly on a Python property.
Does anyone have an idea on how to efficiently filter users by this property?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I use Authentik with a custom Django REST Framework backend, and I link users using the sub identifier from the OAuth claims.
Looking at the Authentik source code (https://github.com/goauthentik/authentik/blob/main/authentik/core/models.py#L390), I saw that the sub maps to the uid property of the User model.
However, I can’t find a way to filter users by this identifier via the API. As far as I know, it’s not possible to filter directly on a Python property.
Does anyone have an idea on how to efficiently filter users by this property?
Regards,
Beta Was this translation helpful? Give feedback.
All reactions