Can authenticate customer before the website gets loaded. I tried using store front API to generate access token such that it set the cookies for customer “_secure_session_id” etc. But no success there.
Hi @shivam21197
You can use liquid code
{% if customer %}
Put all the code inside the block only login user will access the content.
{% endif %}