Skip to Main Content

Visual Builder

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

401 Unauthorized Error for VBCS App based on Oracle CRM SaaS backend

AparajitMalliJawaharBapuAug 17 2023 — edited Aug 18 2023

Hi, This is not a question. We encountered an issue and we fixed this. Posting this for everyone's benefit.

We built a PWA Mobile app without security and now, we were trying to add security. The Backend is Oracle CRM (OEC).

For Oracle CRM Propagate Identity, we need to add a custom header - Puds-Access-token to the Service Connection. When we added this, we were getting a 401 Unauthorized error.

In the Network tab, we can see that the Request Header does not have "Puds-Access-Token", instead, it has just "Authorization".

I created another app (WebApp) from scratch (from "Empty Application") and added the same Custom header. This works and I can see the "Puds-Access-Token" in the request header.

The issue was with the Runtime dependency. The PWA app we created was 2.5 years ago and was on release 2101. Once we upgraded to 2304 in Settings, it worked fine.

This post has been answered by Shay Shmeltzer-Oracle on Aug 17 2023
Jump to Answer
Comments
Post Details
Added on Aug 17 2023
2 comments
958 views