gcal-cli icon indicating copy to clipboard operation
gcal-cli copied to clipboard

Support new credential types?

Open bhatman opened this issue 5 years ago • 4 comments

Hi there! I think Google has changed the types of Oauth2 credentials that can be generated in the dev console -- they no longer have the "Other" type. Any current guidance on how to generate the right credentials? Thanks!

bhatman avatar Aug 11 '20 05:08 bhatman

Hi! Thanks for raising the issue, also could check that the JSON file you get now is in a different format.

I'll release a new version fixing it.

toniov avatar Aug 18 '20 00:08 toniov

@bhatman Which credential type did you select in the end? <3

https://xkcd.com/979/

Japh avatar Feb 12 '21 00:02 Japh

@Japh had the same issue today. Could fix it by using the Desktop application type.

ferschubert-hm avatar Sep 01 '21 15:09 ferschubert-hm

There's a new issue I encountered. Even if application type is desktop, I'm blocked by:

Screen Shot 2022-03-04 at 5 40 27 PM

This can be fixed by the following steps

  • Choose Desktop Application when creating a token as @ferschubert-hm mentioned
  • Download the token as json
  • Copy to ~/client_secret.json
  • Go back to the OAuth consent screen
  • Set Publishing Status to Testing
  • Add your email in Test users
  • gcal generateUrl
  • Visit URL generated - you should be able to authenticate and get the token

jerico avatar Mar 04 '22 10:03 jerico