Log in every time in github in order to use Copilot

I’m testing github copilot and I found it incredible good, but I have to log in to github each time I open a new project or I restart the IDE, is this the desired behaviour? I find it quite cumbersome…