Unauth redirection doesn't work

Hello, it’s a bit strange but i’m currently setting up a logout button and I’m facing a critical issue : when I click on the logout button, I’m not auth anymore but can still access to auth only pages ! See the screen shot below :


Any ideas ?

Thanks

1 Like

Hello, this only works in the published app. Now you’re in the Editor so it makes sense that you can access any page, even the locked ones. If you want to do this so it also works in the editor, you can use workflows to handle the if isAuthenticated = false, redirect. In the published app, the redirects will work even without the workflows though.

1 Like