Anonymous users become named users in Sandbox DX

0
In my application an anonymous user can create a reservation for a vehicle. Later, he should be able to connect and view his reservation and possibly change it. I can't figure out how to create a named user from a anonymous user without having to create a Mendix appcloud user first. How?
asked
4 answers
1

The sandbox servers do support anonymous users. To access the anonymous user part simply remove the /openid/login request handler from the url to go to the anonymous. You might also need to signout of mendix home. To create other users you can simply great local users in the user admin section. So login with your mendix id on the request handler /openid/login. Then you can go to user administration and create local users. Logout and have a page that is accessible by anonymous to login to.

answered
2

You can create an user entity by microflow. This will be a local named user. You can take a look at the administration module where users are created to see the logic what is needed.

answered
0

I solved this with the deeplink module. In the creation of the reservation you probably have an email adres. Now when the user want to change it make a form where he can enter his email adres. You then create a deeplink url that you send to the user. With this the person enters the application again and can change his reservation. This way you never have to create accounts. You only have to create a process that deeplinks are only valid for a small amount of time and then get deleted.

Regards,

Ronald

answered
0

Thanks I think that Ronald's answer best covers my needs. I'll use that one to proceed.

answered