flyctl: How to log in a shell if I signed up with my GitHub account previously?

I need to log in into flyctl from a remote server so I can’t use a web-browser. Please, tell me what should I do

When you run fly auth login it should list a URL which you can login with on another device