Clone repository / login from IDE / one-time code

Hi,

So I am new to all this - please pardon my ignorance!

I am trying to clone a repository from my self-hosted gitea instance that is not public. So, in the browser, I would log in to access the repo. But my IDE (code-server) instead gives my a one-time code that I am to enter online (this is aimed at using GitHub, but I was hoping that this works with Gitea as well).

Where can I enter this code so that my IDE can access the repo?

Thanks!