Custom User Entity using REST API

Hi all,
I have a requirement to use REST API as the main data source/store. All the data we need will be coming from the REST API.

My question here is how to use the user entity from REST API for authentication and authorization. I want to be able to make use of the Jmix security with my user entity REST API. Please how do I go about this?

Thanks in advance

Hi,

The DatabaseUserRepository implementing the io.jmix.core.security.UserRepository is generated in your project. It seems that you need to replace this class with your own implementation of io.jmix.core.security.UserRepository that works with REST API.

Hi Gorbunkov,
This helps. Thanks