Wordpress WebApp: 401 unauthorized error in page
We created a Wordpress WebApp instance on Azure to migrate our WPLMS solution. For testing we created a 'fresh' install where we created the instance and installed the required themes and plugins. This theme and the plugins create both a website and PWA.
When testing we encounter the following error:
/wp-json/vbp/v1/loggedinmenu:1
Failed to load resource: the server responded with a status of 401 (Unauthorized)
This error occurs not just for this single page, it affect various areas of the solution where the app retrieves data from the backend (course information, user information, etc.). The regular webpages will load properly with images, text and layout.
We are unsure how to fix the authentication error as most settings seem in order:
- Tried disabling App Service Authentication (no change)
- Public access to Blob storage is enabled
- Network access is set to public
Does anyone know how to fix this issue?