Web autologin with current linux credentials

It’s not about any particular problem. Maybe you know how to configure nextcloud in linux to automatically log in when I open nextcloud web page in browser using the credentials of currently logged in linux user. I bet there was an article on the internet describing this, but cannot find it anymore. Appreciate if anybody can share this knowledge

Thanks in advance