add to
/etc/nginx/conf.d/<site>.d/my_webapp.conf
the lines
fastcgi_param PHP_AUTH_USER $remote_user;
fastcgi_param PHP_AUTH_PW $http_authorization;
yunohost app setting <your_app> protect_against_basic_auth_spoofing -v false
then
yunohost app ssowatconf