copilot.vim icon indicating copy to clipboard operation
copilot.vim copied to clipboard

frequent reauthentication (github enterprise with SSO)

Open Haarr opened this issue 8 months ago • 18 comments

After setting vim.g.copilot_auth_provider_url and authenticating, the extension works superbly.

But the token for copilot.vim is valid as long as your SSO session lasts. Typically 24 hours. This leads to frequent reauthentication. I believe VSCode manages a refresh token so you do not have to reauthenticate.

Is it feasible to support refresh tokens? If not, do you have any ideas for a workaround?

Haarr avatar Apr 24 '25 19:04 Haarr