Authentication not redirecting to sign in page.

Hi I am having an issue…

I am implementing authentication using custom auth…

& I am using Condition Guard to redirect people who aren’t logged in to sign in page…

Unfortunately… When testing it… It is not redirecting people to sign in page but simply gives message… That you do not have the permission

all pages have normal user as min role … but sign in & signup pages have min role as anonymous