- Joined
- Aug 30, 2021
- Messages
- 1,157
@Stije,
This is part of a larger scope work on replacing
CMD_LOGIN
is not removed, but this command can no longer be used for user impersonation feature (also known as login-as feature). It is present in the change log. It also includes backwards compatibility layer, if you would try using CMD_LOGIN
to perform impersonation request you would get a message explaining it should not be used and the button to actually perform this action using new API. The command CMD_LOGIN
can still be used for normal user log-in.This is part of a larger scope work on replacing
CMD_LOGIN
with new API endpoints. Motivation for this change is to decouple completely unrelated actions into separate endpoints. Old CMD_LOGIN
used to perform three unique operations:- Initial log-in from unauthorized user, replaced by
POST /api/login
. - Perform impersonation action (login-as different used without password), replaced by
POST /api/session/login-as/switch
, - Stop impersonating another user and return to original user, replaced by
POST /api/session/login-as/return
.