Using User role without User entity.

0
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?
asked
2 answers
0

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

answered
0

Hi HyunKyu,

 

Did you manage to get this working?  Care to provide some insight as we're working on a similar requirement

 

Thanks!

answered