The need is to create a web app and mobile app for the same set of users with same roles. The roles are defined in the web application and the CHECKROLE service action is created which is referenced in mobile application.
The pages if marked for "Authenticated Users" only, throw an error since there is no role declaration in the mobile application.
A quick ask to the community if anyone has built an app on ODC using a similar set of roles defined in a single app and referenced in another.
Thank you in advance.
If you need the same role names, you must create them separately in each application. Role sharing is not available in ODC.
Hi @Alefiya Ali
Web applications and mobile applications have their own separate roles. Either you can create the same name or different. It's not an issue, and you can assign both roles to Single User:
Ref:
https://success.outsystems.com/documentation/outsystems_developer_cloud/user_management/roles/
Alefiya Ali
We can use 'Principle of seperation of concern'
Create separate roll application. Create rolls with public access. Add dependency of this application in mobile as well as reactive app.