On production/prototype server, we're using wordpress.com for our oauth and the one currently implemented (default from the repo) is using oauth2 by creating an application on developer.wordpress.com. The problem is that we need token for proxy route to work for the preview for draft post, but with wordpress.com there's no token stored in the document.cookie and we need that to talk to wordpress api.
We need to figure that out since we need this feature.
On production/prototype server, we're using wordpress.com for our oauth and the one currently implemented (default from the repo) is using oauth2 by creating an application on developer.wordpress.com. The problem is that we need token for
proxy
route to work for thepreview
for draft post, but withwordpress.com
there's no token stored in thedocument.cookie
and we need that to talk towordpress api
.We need to figure that out since we need this feature.