web author is asking for authorization even when web dav URL has all the necessary information

Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
shikhar_472
Posts: 99
Joined: Fri Jul 01, 2022 12:08 pm

web author is asking for authorization even when web dav URL has all the necessary information

Post by shikhar_472 »

Hi Team,

When we are trying to open the web author with web dav URL -

http://dev/content/resources/webdav/ses ... 034b22.xml

with the right session token and it is giving the authentication error even other files are opening fine but in few files I am facing the issue.

In network toolbar we found - http://dev/oxygen-xml-web-author/plugin ... 034b22.xml

with STATUS CODE - 401


Even we have checked our backend logs and so we are getting the successful response of xml validation.

For testing we have one more API -

http://dev/content/resources/webdav/ses ... c754034b22

without XML extension using this I am able to open the web author successfully .

Thanks,
Shikhar.
cristi_talau
Posts: 496
Joined: Thu Sep 04, 2014 4:22 pm

Re: web author is asking for authorization even when web dav URL has all the necessary information

Post by cristi_talau »

Hello,

What happens is that Web Author tries to make a PROPFIND request to your server using the URL that you are trying to open and your server does not respond with HTTP status 200. To fix the problem you should also implement the PROPFIND method in the WebDAV server.

This problem happens only on some files because Web Author uses a heuristic to identify whether the user is authorized to make the PROPFIND request and for this file it happens to have a false positive.

Best,
Cristian
Post Reply