Proxy authentication with nextcloud

We have a Dashboard with multiple applications hosted on the Dashboard,We want to integrated nextcloud in that Dashboard too
user select’s the application and once it navigates to the application page and part of the navigation the dashboard attaches the header to the https request
Https request received by the application and the application uses the username in the header to authenticate the given user using PAM
Can next cloud work with proxied authentication and does it take a header and what kind of header it uses for proxied authentication

You can e.g. use http basic authentication. But i think it does not solve your problem.

https://apps.nextcloud.com/apps/user_external

Thanks for the suggestion Do we have architectural diagram showing the http basic authentication with the nginx

I think you only create a directory named e.g. “auth” and insert “.htaccess” and “.htpasswd” and then use https://server.tld/auth it in nextcloud. Not tested.

Basic access authentication - Wikipedia
GitHub - nextcloud/user_external: đź‘Ą External user authentication methods like IMAP, SMB and FTP