79327705

Date: 2025-01-03 21:25:26
Score: 3.5
Natty:
Report link

I am also having the same problem at the moment.

As pointed out in https://stackoverflow.com/a/7476709/11025934 they don't expect the client_secret to stay secret. That being said the thread that is being quoted is really old (from 2011) and it seems weird that they haven't fixed that or in their words "phased it out".

To me this means that they treat the client_secret the same as the client_id. If that's the case, then it is probably ok to use it. My problem with this however is that adding a Desktop OAuth 2.0 client in https://console.cloud.google.com/auth/clients does not require a redirect_uri and I believe this is a big security risk.

As shown above, there doesn't seem to be a redirect_uri field for a Desktop application OAuth 2.0 client.

For me there are 2 solutions:

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I am also having the same problem
  • Low reputation (1):
Posted by: Panagiotis Vasileiou