WriteOn / WriteOnApp

On a mission to create the world's finest writing experience.
https://writeon.io
Apache License 2.0
1 stars 0 forks source link

App fails to retrieve tumblr access token #54

Closed yaboi closed 9 years ago

yaboi commented 9 years ago

How'd this happen?

  1. I am logged into Tumblr as me (tyler@tylergoelz.com)
  2. I click "publish to tumblr" and enter info Blog Hostname: writeonio.tumblr.com, visibility: draft, and Format: Markdown.
  3. Click Publish and "allow" to publish to tumblr as WriteOn (connects in popup window correctly)

After I give access to publish, the following message is shown and nothing is posted to tumblr.

image

thinq4yourself commented 9 years ago

Looking into this today, as Nicole has successfully published to Tumblr from writeon.io, but NOT www.writeon.io.

Which has led me to adding www*. prefixed Origin URLS to all API apps (Google, Dropbox, Tumblr, etc).

thinq4yourself commented 9 years ago

You'll have to stop using WWW for now. This is a major flaw as WWW is seen as a distinct URL, different from writeon,io - which means I need to create a new API app in each service with unique appID and secret then each app settings to constants.js app config. It's a minor release and not a patch because the amount of testing that has to be done on each and every method on each API for each function. I'd say a week to get this into PROD.

UGH doesn't come close on this one. You are perhaps not the first person to use WWW (for some reason because NONE of URLs use it), but you are the first to report the experienced PITA related to it. Better you than some hostshot author about to write a review.

thinq4yourself commented 9 years ago

I think I have fixed this in Cloudant, Wordpress, Google, and Dropbox. Tumblr requires the above stated solution and restest.

yaboi commented 9 years ago

Let me know when this is in prod or an env for me to test and I will : )

thinq4yourself commented 9 years ago

Fixed in commit #4d70370 v1.10.4