udx/wp-stateless

Authorized_user instead of Service Account JSON ?

Opened this issue · 1 comments

Hi wp-stateless team !

First, i want to thank you for your work, the plugin work like a charm. But i have a "small" problem.
Our security team doesn't want we use the service account json from our gcp account for "security reason", it's only available inside our CI but not for us, developpers on our local machine.

Is there a way to use the authorized_user json ? It's something like this :

{
  "client_id": "xxxxxxxxxxxx.apps.googleusercontent.com",
  "client_secret": "x-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "refresh_token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "type": "authorized_user"
}

Thanks in advance

Thanks for your suggestion. We'll look further into it in the future. Your support is greatly appreciated!