From 81aa6dd514f16ba97cf11db6bf0e28f26d94e144 Mon Sep 17 00:00:00 2001 From: Federico Ponzi Date: Tue, 22 Aug 2023 19:00:12 +0100 Subject: [PATCH] Update token.md --- token.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/token.md b/token.md index 7f8442a..c183264 100644 --- a/token.md +++ b/token.md @@ -47,10 +47,12 @@ Here's how to get the 3 keys: `clientId`, `clientSecret` and `refreshToken` Publish app -15. Open a console/terminal where you stored your `key.json` file. Run the following, replacing `pnpm dlx` with `npx` or `yarn dlx` as needed: +15. Download the credentials and save it as `key.json`. + +16. Open a console/terminal where you stored your `key.json` file. Run the following, replacing `pnpm dlx` with `npx` or `yarn dlx` as needed: > pnpm dlx gcp-refresh-token -16. The command will open an OAuth consent screen on the web. Follow its steps and warnings (this is your own personal app). Make sure the local `port` is correct. +17. The command will open an OAuth consent screen on the web. Follow its steps and warnings (this is your own personal app). Make sure the local `port` is correct. -17. Done. Now you should have ✅ `clientId`, ✅ `clientSecret` and ✅ `refreshToken` in `key.json`. You can use these for all your extensions, but don't share them! +18. Done. Now you should have ✅ `clientId`, ✅ `clientSecret` and ✅ `refreshToken` in `key.json`. You can use these for all your extensions, but don't share them!