How to login using the REST API 2.3

I’m developing an API and I’m having difficulty logging in using the Jmix API using the HTTP request to access it. The only way to access the project was using the following URL: http://localhost:8081/oauth2/token. I want to validate the user by logging in. Can someone help me??? I am using the 2.3 version.

Hi

it may be a better option to integrate with keycloak using OpenID Connect addon to have more options for login in

recently I saw some custom login code, hope it can help you: Anonymous user MainView/LoginView display problem with Flow UI - #4 by d.kremnev