In addition to enabling Anonymous, you should also:
Hope it helps,
It depends on what is causing the redirect, but you could take a look at changing the index.html file in theme/web contents from:
note: that the login.html no longer will be shown when an user needs to sign in
You would need to enable anonymous users in your application. Without anonymous users, anyone using your application has to login, hence you see the login page for all users.
I hope this helps. Good luck with your project!
After giving appropriate access roles to the anonymous users, my issue seems to have been resolved.