Problem when deleting temporary users

Hi all,   For a project I want devices to be able to authenticate to a specific user role for a limited amount of time.  Authentication is done through a different device with an administrator account on it, which kicks of a microflow to provision and login a temporary account for that device.   I want to delete the temporary accounts in a way that the device lands back on the original homepage, by any way I try to remove System.User and Administration.Account with the user role from the data base the app gets redirected to the standard login.html page, whatever the Mx Settings of the default login page or default/role based homepage are.   So my question is, how do I remove this redirect to the login.html page and/or what is a good way to delete a user/account so it correctly lands on the homepage set for anonymous users?
0 answers