🤖 Cursor: Implement plain text auth cache fall back on headless linux
I've now tested this change on an Ubuntu WaveSpace VM and it works 🥳 !
Since Cursor has been blocked internally at Microsoft. I've used my personal (@kyle-rader) OSS account, from my personal device, using my personal Cursor Pro subscription to have a Cursor background agent implement this feature.
Prompt:
In this repo, azureauth is the main product. A generic AAD cred provider. The token cache configuration is setup to use the keyring on Linux. However, in headless Linux envs the keyring doesn't work and we want to enable a plain text cache fall back. The code tests does a cache persistence check right now, and if that fails, on Linux, implement a plain text cache fall back to use instead. The cache file should be under ~/.azureauth and only be read-write for the current user and no permissions for any other users.
is this enough to ship the .deb package again for ubuntu ? and for it to work over github codespaces ssh terminal ?
This would be a step forward into fixing https://github.com/microsoft/ado-npm-auth/issues/71