github / github/copilot.vim

frequent reauthentication (github enterprise with SSO)

Open
#75 18 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
11.7k
Forks
810
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.