Restservices dont work in Mx 5.13.1 - 401: Authentication Required

1
After updating to Mx 5.13.1 the Restservice module stopped working for me. It does startup, but It seems that any request to /rest/ needs an Basic Authentication header (the log starts with a SELECT user with name=''). However, this is not wat I want, because I have an authentication microflow. After reverting to Mx 5.12 all is fine. What has changed?
asked
2 answers
2

We're working on integrated rest functionality built-in in the Modeler. This is still hidden behind a feature flag for internal testing but the handler is always registered. Unfortunately this is conflicting with the rest module from the app store.

The easiest solution would be to let the rest module run on a different path, I'm not sure if this is configurable in the module but if not, it would be easy enough to change in code. Would this be a sufficient workaround for you?

Edit: In 5.14 I changed it so that it doesn't register the handler as long as the feature is not enabled.

answered
2

This workaround will solve the issue: it changes the default path of the Rest Services module:

https://modelshare.mendix.com/models/cc0e0463-0abd-4bde-856f-01691584b171/howto-start-restservices-module-in-mx-5.13.0

(Btw, for those wondering: this Model Share was added to this answer by just pasting the url of the model share page into the question)

answered