NextCloud 16.0.3 Server, Linux Client for Disco Dingo 2.5.2 -- login "grant" loop

This was solved by following the steps here: Stuck in a login loop when logging in from sync client on Linux

Basically I kept making those changes to the NC config file until things started working. I’m behind an NGINX proxy so those proxy settings may have been what helped.