Hello,
I have an APEX APP , that is configured to log-in Using OCI IAM (SSO).
I have 5 pages :
Page1
Page2
Page3
Page4
Page5
I want to make Page1 and Page2 available for All users after login by default.
and make Page3,Page4 and Page5 only visible for some users.
My thoughts are :
1-Call A REST API at HomePage Pre-rendering, which will take Username as Input, and response will have user_type as a reply either (USER,SUPERVISIOR), and based on the response i can control pages visibility.
2-Create a a table called supervisor, and if username exists on that table , then show page3,page4,page5
3-Create a group at OCI IAM Called supervisors, and any one assigned to it will have access for that application (separate page3,page4,page5 to another application and enable “Enforce grant as Authorization” Option.
Kindly advise how to achieve that.
Thanks.