Magento 2 Force Login Extension by MageComp offers you the ability to restrict certain parts of your store for all the users who are not logged in to the store.
> Force login for the customers
> Users directly redirect to the login custom page.
> Easy redirection of CMS/ Category/ Magento Pages
> Beneficial for Membership/Premium access websites