#Search user by UID
1 messages · Page 1 of 1 (latest)
Since the UID is not saved in the database but rather computed on the fly it’s not possible to search for it
https://github.com/goauthentik/authentik/issues/2428
https://github.com/goauthentik/authentik/commit/1e1d9f1bdda17eb82be9ae2728a1274229619aa1
So was this removed at some point?
Weirdly it seems you can search by the UUID, but not the UID.
I don't get any results when searching by the user's UID, but do when searching for UUID.
Since the UID is provided to my application via OAuth2 and not the PK or UUID, it would be nice to actually be able to index a user in the API using it. Or at the bare minimum have a way to get a user's information (including their PK) from the API using the saved UID.
Seems best way is to search by email or username at this point and then pick out the value from what gets returned based on whether it's UID field matches.