Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial Authentication to Blogger broken in recent versions #561

Closed
nycdotnet opened this issue Feb 10, 2017 · 2 comments
Closed

Initial Authentication to Blogger broken in recent versions #561

nycdotnet opened this issue Feb 10, 2017 · 2 comments

Comments

@nycdotnet
Copy link

@nycdotnet nycdotnet commented Feb 10, 2017

Version v0.6.0.0, v0.5.1.4, and v0.5.1.3 do not allow authentication to a Blogger blog when running the initial setup of the app. When the user selects "Google Blogger" at the "What blog service do you use?" prompt, and clicks "Next" and then "Sign In", they are delivered to the following URL:

https://accounts.google.com/o/oauth2/auth?access_type=offline&response_type=code&client_id=PASTE_YOUR_CLIENT_ID_HERE&redirect_uri=http:%2F%2Flocalhost:51895%2Fauthorize%2F&scope=https:%2F%2Fwww.googleapis.com%2Fauth%2Fblogger%20https:%2F%2Fpicasaweb.google.com%2Fdata

Please note the client_id value in the URL of PASTE_YOUR_CLIENT_ID_HERE.

The client_id to use comes from src/managed/OpenLiveWriter.BlogClient/Clients/GoogleBloggerv3Secrets.json, which is specifically in the repo's .gitignore file. The computers used to build these recent versions appear to not have had this secrets file up-to-date.

Version v0.5.1.2 does work and passes what appears to be a valid client ID to Google when attempting to authenticate. Updating to v0.6.0.0 after that seems to work fine; Open Live Writer remains authenticated to the user's blog.

@ScottIsAFool
Copy link
Member

@ScottIsAFool ScottIsAFool commented Feb 14, 2017

I'm unable to reproduce this. I've tried both 0.6.0.0 and the version that's in the Windows 10 Store, both provide the correct client id. Have you tried building the source yourself? I just want to make sure that it's not been using a local build?

@nycdotnet
Copy link
Author

@nycdotnet nycdotnet commented Feb 14, 2017

Hi Scott,

Thank you for looking into this. It appears that this is a duplicate of issue #443 and seems to be related to installing via Chocolatey. The installer there is bad and does not link to the actual download from the web site. Note the comments on the package here: https://chocolatey.org/packages/openlivewriter. My sincere apologies!

I will follow up with the Chocolatey folks to get the package there updated.

@nycdotnet nycdotnet closed this Feb 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.