Bug Description
Actions
Components cannot trigger model methods listening to any valid event due to the use of the LoginRequiredMiddleware middleware. A token error occurs in the browser, but the Django console displays a redirect.
If the user is logged in, the error does not occur.
However, I couldn't find a way in the django-unicorn documentation to make the component fully accessible to public URLs, as explained in the use of LoginRequiredMiddleware in the official Django documentation.
Expected behaviour
The expectation is that it will be possible to explicitly allow, through code, the use of Django-Unicorn Actions using LoginRequiredMiddleware on public URLs.
Screenshots / Screenrecords
Steps to reproduce
No response
What browsers are you seeing the problem on?
Microsoft Edge
👀 Have you checked for similar open issues?
Code of Conduct
Are you willing to work on this issue ?
No, someone else can work on it