I made a website, and in it I need to prevent it from entering it by URL access, but I did not create a session in PHP because the login is validated with token by jwt with js.
Is there any secure way to just let anyone who logged in to the site enter certain pages with js?