If you are unable to log into the app on iOS, and encountering an error message that states as below in NGINX and Nextcloud

If you are unable to log into the app on iOS, and encountering an error message that states as below in NGINX and Nextcloud.

“No ‘Authorization: Basic’ header found. Either the client didn’t send one, or the server is misconfigured. No ‘Authorization: Bearer’ header found. Either the client didn’t send one, or the server is misconfigured.”

This issue seems to be related to your setup, which includes a reverse proxy.

Add

proxy_hide_header Upgrade;
proxy_set_header Cookie $http_cookie;

to your .conf
and restart the nginx.