I can't get browser to redirect on Server Connect Unauthorize Event

OK, here’s where I am at.

I successfully put together the login page, backend server action and redirect. I can get data of the logged in user with a user_data Server Action. And using the Server Connect, I want to redirect the user when she/he arrives on the page but not logged in. The user_data does send a 401 Unauthorize. I added a Browser Component and Dynamic Action on the Server Connect to redirect when Unauthorize – but it is not redirecting. It’s as if the Unauthorize event did not trigger.

Community Page
Last updated: