Use Mendix SSO Module to automatically invite certain users

1
Hi, I would like to setup the Mendix SSO module in a way such that I can automatically let certain users sign in (e.g. based on mail address/domain) instead of manually inviting them one-by-one. Is this possible, and how? regards, Fabian
asked
2 answers
0

I do not think it is possible. The user always have to consent to being added to a project. But did you check the User Management API https://docs.mendix.com/apidocs-mxsdk/apidocs/user-management-api ? I have not tried it myself but it seems you can automate which users can get access to which app.

Regards,

Ronald

 

answered
0

you can do it by modifying the microflow “MendixSSO.RetrieveUserRoles”, and by assigning a role in the “yourModule.MendixSSO_CreateUser”.

 

The only problem is the “MendixSSO.RetrieveUserRoles” that you have to modify it directly in the Mendix SSO module,  this microflow can’t be copied in your modules because it’s called by a JavaAction where its name is hard-coded.

 

 

answered