This repository has been archived by the owner on Mar 16, 2024. It is now read-only.
Error on "get_user" when user doesn't exists #53
Labels
pull requests welcome
An issue that we would like to see fixed, but don't have the time for to fix them personally
Wen i try to search for a user that doesn't exist, an error occurs:
Occurs in the line below, as the API returns a empty array.
fastapi-keycloak/fastapi_keycloak/api.py
Line 833 in 28f5f7b
A suggestion would be to check before instantiating the object:
This way the API will allow me to check if a user exists in keycloak.
What do you think?
The text was updated successfully, but these errors were encountered: