When roundcube gets redirected from oauth service nginx throws 404 not found. I have enabled oauth provider as generic and setup other required fields. Also nginx log says "/var/www/html/index.php/login/oauth" this file/folder not found.
I tries to edit nginx config but didnot work the problem persists..404 Nginx