Page 1 of 1

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

Posted: Thu May 11, 2023 3:07 pm
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.

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

Posted: Thu May 11, 2023 8:33 pm
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