From 8ec3820a5ce3a4eb7922209c5566267861c20c30 Mon Sep 17 00:00:00 2001 From: Jon Galloway Date: Sat, 11 May 2019 12:56:21 -0700 Subject: [PATCH] Fixed reference to blogger secrets These are set in a local json file to prevent uploading secrets to GitHub, not in the writer.build.targets file. --- docs/Connecting to Blogger From a Local Build.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/Connecting to Blogger From a Local Build.md b/docs/Connecting to Blogger From a Local Build.md index 363bdec9..c182f0a9 100644 --- a/docs/Connecting to Blogger From a Local Build.md +++ b/docs/Connecting to Blogger From a Local Build.md @@ -26,6 +26,15 @@ If you do, then you will need to do the following in order to use Live Writer wi 8. If you haven't added any details for your project's consent screen, you'll need to do so at this point. 9. When prompted for your application type, choose other, and just give it a name, then click Create 10. You will then be shown the client ID and Client Secret that need to be used. -11. In your Live Writer repository, go to writer.build.targets and open it in a text editor. +11. In your Live Writer repository, go to `\src\managed\OpenLiveWriter.BlogClient\Clients\GoogleBloggerv3Secrets.json` and open it in a text editor. + > Note: If this file does not exist, create it and add the following: + ```json + { + "installed": { + "client_id": "PASTE_YOUR_CLIENT_ID_HERE", + "client_secret": "PASTE_YOUR_CLIENT_SECRET_HERE" + } + } + ``` 12. Replace the ClientId and Client Secret details where it says PASTE\_YOUR\_CLIENT\_ID\_HERE and PASTE\_YOUR\_CLIENT\_SECRET\_HERE respectively -13. Now you should be able to build Live Writer again and connect your Blogger blog. \ No newline at end of file +13. Now you should be able to build Live Writer again and connect your Blogger blog.