Wordpress WebApp: 401 unauthorized error in page

Sander De Hoogh 0 Reputation points
2023-08-06T13:18:34.09+00:00

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?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,939 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.