mbrg/power-pwn

cache tokens seems not to work

Opened this issue · 1 comments

I used the dump method to dump and obtain a token, which is stored in tokens.json but whenever i do copilot chat command for example and use the --cached-token argument it keeps saying no cache tokens found. Why does it not use the tokens.json file but keeps saying no cache tokens found.

please pay attention that tokens for dump command are completely different than than the one used for copilot - these are two different audiences.
the cached-token works per command, ie you can login once for a specific command and then use the cached tokens (until they get expired) for the same command