Try to access https://github.com/settings/tokens and create a New personal access token (classic) with permissions: repo, user, gist and copilot. Worked for me like a charm! :)