Open AlonTzarafi opened 4 years ago
Sorry, I can't reproduce. Can you give me the URL (you can obfuscate the exact tokens in the URL)?
I had this issue as well and managed to solve it by evaluating:
(concat org-gcal-auth-url
"?client_id=" (url-hexify-string org-gcal-client-id)
"&response_type=code"
"&redirect_uri=" (url-hexify-string "urn:ietf:wg:oauth:2.0:oob")
"&scope=" (url-hexify-string org-gcal-resource-url))
in a buffer and pasting the result in the browser.
This prompted me to sign in where I was met with a warning that the app had not been verified. By clicking Advanced and then Go to app-name (unsafe) I was able to get the code needed by gcal.
Having this same issue but @Silver292's solution does nothing for me. I'm running spacemacs inside of WSL2
Likewise (on Arch) -- however, when I use the same settings on a second machine, it works. This is after removing everything in the ~/.emacs.d/org-gcal directory (a few times) on the first machine, so I don't think the issue is in there. When I use the same settings on the other machine, I am re-prompted for the code, and then it works. Huh.
@Silver292 Thank you for your solution. Worked for me. Spacemacs inside WSL2.
Hmm, maybe you need to use different client IDs on each of your machines (which means you should generate separate credentials)?
Having the same issue, on spacemacs + Arch. No mentioned solution works unfortunately.
This is what shows up: