Wrong URL with OAUTH

Our gitea instance runs with an iis reverse proxy on https://domain.com/gitea. With Git for Windows it wants to authenticate in the web browser. But it opens the wrong url. The requested url has the form https://domain.com/login/oauth. The gitea part is missing.

Is there a setting we missed? Or is it possible to disable the oauth in Gitea or Git?

what’s your Gitea configuration?

I have the same problem and same situation. Gitea isnt in the site root for me, its behind an nginx reverse proxy under /gitea/ . I have the ROOT_URL set right and everything else works, but HTTPS access fails to perform a login.