microsoft-authentication-cli icon indicating copy to clipboard operation
microsoft-authentication-cli copied to clipboard

🤖 Cursor: Implement plain text auth cache fall back on headless linux

Open kyle-rader opened this issue 4 months ago • 2 comments

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.

kyle-rader avatar Jul 29 '25 23:07 kyle-rader

is this enough to ship the .deb package again for ubuntu ? and for it to work over github codespaces ssh terminal ?

searleser97 avatar Aug 08 '25 17:08 searleser97

This would be a step forward into fixing https://github.com/microsoft/ado-npm-auth/issues/71

searleser97 avatar Aug 08 '25 19:08 searleser97