Hi,
We built a **PWA Mobile** app that connects with Oracle B2B (OEC), without security. Now, we added security.
We have 2 roles - Contractor and Agency Assessor. I created these 2 roles in VBCS and mapped to IDCS groups (that syncs from OEC) for every profile in our app. We initially tried this by creating an input text that shows $application.user.roles to see if the logged in user's roles and made it Live from VBCS (ic/builder) and it works fine.
Logged in as contractor (has only contractor role)

Logged in as Agency Assessor (has only Agency Assessor role)

- approle.authenticated.user is the built-in role for all authenticated user, I think.
- contractor & agencyAssessor are the VBCS roles I created and mapped it to IDCS group
Now, we tried to implement the same from VB studio project. Created new workspace and did the same mappings.
One thing that was different from VB Studio, it does not show the profiles, instead it shows “Mapping” and I did the mapping for all the 3 (Workspace, Deployed with version in url, Deployed)

Yet, the roles are not showing correctly. May I missing something?
It shows only “approle.authenticated.user” for both contractor and agency assessor logins.
I validated that user-roles.json has the correct IDCS Role “Dev1” “id”s.
I also logged in IDCS Dev1 and manually mapped the Application Roles to IDCS Groups.

VB Studio is in Test tenancy and I am trying to deploy the App to Dev1 tenancy (VBCS Dev1, IDCS Dev1, OEC Dev1).
Is this why the role mapping is not working?