Comments (13)
You need to use the client and password you stored into the config.php file you created from the example file config.php.sample. This would be "hubic" an "mypassword" for the values in the sample: https://github.com/oderwat/hubic2swiftgate/blob/master/config.php.sample
from hubic2swiftgate.
Thank you.
I must replace 'hubic' value in config.php ? Or only mypassword ?
And what is the redirection url I should use in hubiC app ? Is http://localhost/ a right value ?
from hubic2swiftgate.
You do not need to replace hubic
and the password is NOT your hubic password. Chose something else!
The redirection URL for localhost would be: http://localhost/callback/
if I read my own docs correctly :)
from hubic2swiftgate.
Ok thanks :)
Now my error is "Illegal! | error: invalid_request | error_description: please verify redirect uri"
Perhaps it's an error with the redirect url from hubiC app. I have put hubic2swiftgate to my VPS, I use http://hsgate.domain.ovh/register....... but I use http://localhost/callback/ because I can't use https://hsgate.domain.ovh/callback/ (hubiC doesn't accept "ovh" in URL...). Right ?
from hubic2swiftgate.
Redirect URI will be: https://github.com/oderwat/hubic2swiftgate/blob/master/www/simple.php#L107
So you could add a die($redirect_uri.PHP_EOL);
in line 108 and just call any url on the server to figure our what the gateway sends to HubiC on OAuth2 Register. What is sent there needs to resolve in your Browser. There is no other way! You may need to change your setup.
from hubic2swiftgate.
Ok thank you for informations.
A last question before changing my setup : if I use a VPS with a 100Mbits network bandwith only for hubic2swiftgate and a private network with 1Gbit bandwith to upload my files, does the VPS limit my bandwith ? Or VPS is only use to authenticate and all traffic is made between my home and hubiC server ? If VPS is the bottleneck, it's better to use a local server...
from hubic2swiftgate.
The gateway is only used for the authentication! The data-transfer afterwards is between the client and HubiC server directly.
from hubic2swiftgate.
Good news, so perhaps the best solution is to buy a new domain name (without .ovh extension) and generate a new hubiC app with the new domain name...
from hubic2swiftgate.
You could just use any DynamicDNS service or just "invent" a domain and add it to the hosts
file for the systems you want to use it. It is not needed that the OVH systems can resolve it.
from hubic2swiftgate.
I close this issue. If you run into more problems reply here please.
from hubic2swiftgate.
Hi Hans, many thanks for publishing the hubic2swiftgate code on github; I have successfully authenticated a new app with my hubic account using your code, but I've so far been completely unsuccessful in using ftp-cloudfs to work with hubic2swiftgate, despite trying many variations :(
Do you have any experience with ftp-cloudfs & hubic2swiftgate (& if so, any help would be welcome!).
Dez.
from hubic2swiftgate.
Hi @dezfutak I would prefer if you open a new issue with your question. I did never use ftp-cloudfs myself so it would be probably better to ask in a fresh issue if anybody else did :) (as nearly nobody will see this here.. besides me and the person which opened this one)
from hubic2swiftgate.
@oderwat - yes, that's probably the best solution; as it happens, I've made some progress in that I now understand why things haven't been working (I need to re-authenticate my hubic2swiftgate app with a subdomain so that ftp-cloudfs will uniquely resolve on the server in a vhost setup, whereas on the root of a domain, it won't).
from hubic2swiftgate.
Related Issues (20)
- ftp-cloudfs + hubic2swiftgate = ftp hubic HOT 1
- 403 Forbidden HOT 3
- invalid_request HOT 2
- SCRIPT_URL does not not exists in nginx / fpm config HOT 6
- I can't make a connection with hubiC HOT 1
- . HOT 2
- Using a recent version of Python-SwiftClient HOT 3
- Dockerfile HOT 2
- 404 not found HOT 9
- Alias Apache HOT 3
- Several issues (s3ql), any help? HOT 4
- Problem registering HOT 6
- autoregister doesn't work anymore ? HOT 1
- Register issue : HubiC api server responded with return code: 0 HOT 1
- include caddy configuration info HOT 1
- Help in configuration with Nginx (and Owncloud)
- Not "secure" to be trusted for "public" users... HOT 2
- Setup HOT 1
- Does not work with CyberDuck 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 hubic2swiftgate.