There are several ways to retrieve informations about the logged user:
- POST site/automation/login (Automation, currently used), it returns:
- GET site/api/v1/me (REST API), it returns:
Let's move to the GET approach, no need to POST data for such information.
It will also fix the current behavior: as of now a User model is created, but the retrieved entity-type is login and not user, so the current object is lacking of data.