Comments (4)
you can't use localhost. point some domain name (like whatever.dev or
something) to 127.0.0.1 in your /etc/hosts, and use that instead.
otherwise, use pagekite.
On Wed, Jun 27, 2012 at 12:43 AM, Jan-Christoph Borchardt
[email protected]
wrote:
I was trying to use docrastinate locally and had an error when trying to connect to my 5apps remoteStorage. The redirector kept reloading and appending »#error=invalid_client« to the web address, resulting in:
The console looked like this:
ready state changed to: /docrastinate/syncer/include.js:13
Object
/docrastinate/syncer/include.js:13
XHR finished loading: "http://50.116.62.47/js/chromeServerV45.js".
XHR finished loading: "https://5apps.com/.well-known/host-meta".
XHR finished loading: "https://5apps.com/webfinger?q=acct:[email protected]".
ready state changed to: /docrastinate/syncer/include.js:13
Object
/docrastinate/syncer/include.js:13
XHR finished loading: "http://66.228.34.50/js/chromeServerV45.js".
XHR finished loading: "https://5apps.com/.well-known/host-meta".
XHR finished loading: "https://5apps.com/webfinger?q=acct:[email protected]".
ready state changed to: include.js:13
Object
syncing: false
proto: Object
include.js:13
XHR finished loading: "http://50.116.62.47/js/chromeServerV45.js".
XHR finished loading: "http://66.228.34.50/js/chromeServerV45.js".
GET http://proxy.unhosted.org/irisCouchCheck?q=acct:[email protected] include.js:3
ready state changed to: include.js:13
Object
include.js:13
ready state changed to: include.js:13
Object
include.js:13
ready state changed to: include.js:13
…Any idea?
Reply to this email directly or view it on GitHub:
https://github.com/unhosted/remoteStorage.js/issues/49
from remotestorage.js.
Turns out it’s not related to localhost, but rather probably an issue with 5apps, confirmed by Luis.
@skddc @galfert do you know what could be the problem? It seems to work with OwnCube.
from remotestorage.js.
We recently implemented a check that the client_id must be equal to the hostname of the redirect_uri, like @michielbdejong suggested. It seems that docrastinate uses the full redirect_uri for the client_id instead of just the hostname. That caused our check to fail.
I removed the check for now so that it works again. A proper fix is on its way.
from remotestorage.js.
ok, we haven't done proper deprecation dates until now, and this is
obviously needed. we should deprecate 0.6.8, but probably the best way
to do this (saving people double work) is to deprecate 0.6.* and below
on 15 August. Then you can put the check back on that date, and if an
app is still not on v0.7 then, it will be the app's fault.
On Wed, Jun 27, 2012 at 12:06 PM, Garret Alfert
[email protected]
wrote:
We recently implemented a check that the client_id must be equal to the hostname of the redirect_uri, like @michielbdejong suggested. It seems that docrastinate uses the full redirect_uri for the client_id instead of just the hostname. That caused our check to fail.
I removed the check for now so that it works again. A proper fix is on its way.
Reply to this email directly or view it on GitHub:
https://github.com/unhosted/remoteStorage.js/issues/49#issuecomment-6598309
from remotestorage.js.
Related Issues (20)
- Google Drive _getFile doesn't check if a file ID exists before using it HOT 1
- ReferenceError: XMLHttpRequest is not defined when connecting with a token HOT 6
- Document usage with TypeScript in non-browser environments
- client.remove() produces non-existing node errors HOT 2
- Cannot use type augmentation with RemoteStorage modules
- ReadTheDocs builds failing HOT 4
- Dropbox code needs to be updated to use refresh tokens
- Update ReadTheDocs config to use the new build images
- Tests must be migrated away from Jaribu, which is no longer maintained HOT 2
- ReadTheDocs builds broken (again)
- hypercore, solid-project, webdav, ipfs or remote-storage? HOT 2
- getNodes does not clone object in inmemorystorage
- Is this project active? HOT 2
- Error "No storage information found for this user address." when accessing my HTTP RS server from HTTPS app HOT 2
- Error "Cannot read properties of null" when trying to login in the widget HOT 2
- Export assignment cannot be used when targeting ECMAScript modules. in 2.0.0 beta. HOT 2
- Fire local change event without page reload HOT 1
- Migrating to 2.0.0-beta.6 issues HOT 6
- Document sync events HOT 1
- npm install fails with ERESOLVE dependency conflict HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remotestorage.js.