Invalid token error every Auth
geetmankar opened this issue · comments
Hi, I am using astronvim on windows 11, everytime I try to use :Codeium Auth
and copy and paste the token to the Paste your token here:
, the response is:
Unexpected response: {"detail":[{"loc":["body",3],"msg":"Expecting ':' delimiter: line 1 column 4 (char 3)","type":"value_error.jsondecode","ctx":{"msg":"Expecting ':' delimiter","doc":"{""firebase_id_token"": """"}","pos":3,"lineno":1,"colno":4}}]}
Invalid token, please try again:
Here, <WHATEVER-THE-TOKEN-IS>
stands for the actual text of the token
Resolved by commenting out the following line:
vim.opt.shell = "nu",
vim.opt.shellcmdflag = "-c",
vim.opt.shellquote = "",
vim.opt.shellxquote = "",
The Auth probably works only in Command Prompt / cmd in Windows.