I built a Controller in Neos whose Actions are accessible via an URL-Endpoint. The Index-Action returns an html which is built in a Fusionfile using afx. As long as all my parameters were simple types everything worked fine. But I want to sent nodes to this Endpoint and I am a bit lost.
A simplified version of my Action looks like this:
public function indexAction(NodeInterface $aktiver_schwerpunkt)
{
\Neos\Flow\var_dump($aktiver_schwerpunkt);
}
A possible reason for the auth error is that the contextPath you are using refers to the admin workspace. If the admin session is not active when then request is handled the error makes perfect sense.
(I cheated a bit on my previously posted url, because I only used the query-params from the genreated uri)
Concerning authentication:
I realized that the URI is working when I create it outside of my admin-Context (for example in preview). Then the query params are “aktiver_schwerpunkt%5B__contextNodePath%5D=%2Fsites%2Fvcg-iwwde%2Fnode-6adeq3huuwasi%2Fnode-w6rbhr6bdltyi%40live%3Blanguage%3Dde” and it works.
So my question is: Is it possible to create that uri from within the neos-Backend but without including the admin-Context in the URI? Because in our usecase we want everybody to be able to use this uri.