I use deep links (i.e. anonymous access) for the public side of my app. When a logged user tries to access one of those deep links it does not work. I have one story where a logged user receives an email after completing a step on the private side of the app. The email includes a link for the public side. If the user clicks right away on the link without logging out from the private side, he gets an error while accessing the the public link. What is the best way to fix this?
Could you publish the error? Because in my opinion this should not be happening unless you made a configuration error somewhere where you give an object read rights as an anonymous but not for other user roles.