Trying to call a microflow URL by pasting the link in a browser leads to connection refusal or login screen
0
Hi all, We are currently running a project that allows anonymous users, because we want them to scan a QR code to immediately go the correct page. I have set up a navigation microflow and added a string parameter in the URL under properties. When I paste this link (and fill in the correct parameter data) in a fresh browser I am taken to the custom login page (which is our default home page). What is weird to me here is that when I debug this microflow, the debugger doesn't catch on --> I am directly sent to login The other option I have tried is to give direct access to anonymous on the page itself and then setting a page URL with the same parameter. When I try to run this link in a fresh browser it is telling me that localhost refused the connection. I am 1000% certain that the anonymous user has rights to read the entity data to which the parameter string belongs. The mendix documentation file describes it (in my eyes) as plug and play pretty mmuch and Im getting a bit frustrated here. Things to note: - User undeniably has read access to the paramater string attribute but also the entire entity - Anon is allowed, entity has rules for this role - The object exists - Deeplink module has been removed from this application - Our default home page is set to our custom login page (not by microflow) - Doesn't matter if I try to open it on my PC browser (incognito chrome) or scanning the URL with my phone when it is on the same network, something doesn't work - In our UI module we have adjusted redirect javacript to make sure the login page is always index3 If anyone has any suggestions they are very welcome.
asked
Lan Gnezda
2 answers
0
What is the user role for the Anonymous user?
What is the Role Based home page for this user role?
The answers to these 2 questions may help you troubleshoot what is happening.
Mike
answered
Mike Kumpf
0
RESOLUTION:
We are running a third party module for our styling, which also included redirect scripts. After disabling these redirects everything started working properly