Using User role without User entity.

I’m currently making custom token login function with rest api. If I send a password and id to external dev server, the dev server returns token and mendix app saves it to session storage. So, In my app, I don’t need to create user. But, I want to use user role for validating access to microflows and pages without creating Userrole. How can i achieve this aim?
1 answers

Hi HyunKyu

If you enable anonymous users on your application, you can assign a user role to the anonymous user. The user role assigned to the anonymous user will be the role used to validate access to the microflows and pages.


Please refer to:

Anonymous Users | Mendix Documentation