Adding basic password authenticator using htaccess

Hi everyone,

Im trying to add a basic authenticator to my frontend app in vuejs (running in docker).
I ve created the htaccess and htpasswd to my root folder but the page doesnt load (black/white page).

this is my code :

AuthType Basic
AuthName “Passwortgeschützter Bereich”
AuthUserFile /base_files/.htpasswd
Require valid-user



Do you anyone already have this issue?

Thanks inadvance