If you experience the error Token not found in system keyring, your local CLI token has gotten out of sync with your system keyring and will need to be unset before re-authenticating the CLI.
First, find the value under scoped: in the Doppler config file:
Then unset the token using the scope value, e.g if the value under scoped: was /, then you would run:
doppler configure unset token --scope /
Now you can re-authenticate:
If you're still experiencing issues, you can reset the CLI configuration entirely by running:
# Use as a last resort as this will completely reset your config
doppler configure reset