CORS error on Authentication

I planned to use my site in a static way and not use any server. Do I really need one ?