Implement navigation block for unauthenticated users on Shopify Grow

Hi,
does anibody know if is possible to implement an unauthenticated users navigation block on Shopify Grow?
My goal is to show only some pages (for example one with a registration form) to an user unauthenitcated. If the user try to navigate an unauthorized route, I would like to perform a redirect (server-side) to a route the customer can decide. Would be nice to have a kind of a whitelist where i can specify the route a user can visit also if not authenticated.

Does anyone have a suggestion on the best approach to this problem and wich would be the best solution in your opinion ?

Thanks in advance
Enrico

Hi @Enrico_Succhielli

I don’t think a redirect will be possible server-side, only client-side using Liquid to check if the customer object is nil or has a value. You can’t do server-side redirects from Liquid templates, Shopify doesn’t expose that capability in themes