[Fiware-tech-help] IDM and ObjectStore

Kalman Meth METH at il.ibm.com
Sun Oct 4 08:47:20 CEST 2015


To access the Object Storage, please see instructions on: 
https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Object_Storage_-_User_and_Programmers_Guide

See also a tutorial at:
https://edu.fiware.org/mod/scorm/view.php?id=723

- Kalman

Kalman Z. Meth, PhD.
Advanced System Technologies
IBM Haifa Research Lab
Haifa University Campus, Mount Carmel,
Haifa, 31905, Israel
e-mail: meth at il.ibm.com, Tel: +972 4 829 6341, Fax: +972 4 829 6114
----- Forwarded by Kalman Meth/Haifa/IBM on 04/10/2015 09:46 AM -----



From:   Andrea Vitaletti <andrea.vitaletti at w-lab.it>
To:     fiware-tech-help at lists.fiware.org
Date:   03/10/2015 03:59 AM
Subject:        [Fiware-tech-help] IDM and ObjectStore



Hi

I downloaded the code from https://github.com/ging/oauth2-example-client 
and it works perfectly to get user info

Now, according to the pdf in the doc folder 
https://github.com/ging/oauth2-example-client/blob/master/docs/oauth2_tutorial.pdf
, having obtained the access_token  by in the req.session.access_token

In principle I should be able to access the objecstorage in the cloud by 

GET       https://GE_URL       HTTP/1.1       
Host:       GE_hostname       
X-?‐Auth-?‐Token:       access_token        

where

https://GE_URL should be '
https://cloud.lab.fi-ware.org/#objectstorage/containers/'

simply using a modification of the code to get the user as in the 
following 

app.get('/list_storage', function(req, res){
    var url = 'https://cloud.lab.fi-ware.org/#objectstorage/containers/';
    console.log("auth token:"+req.session.access_token)
    // Using the access token to list the containers
    oa.get(url, req.session.access_token, function (e, response) {
        res.send(response);
    });
});

Unfortunately I did not get any answer

Can you please explain why?

Regards, Andrea



Since January 1st, old domains won't be supported and messages sent to any 
domain different to @lists.fiware.org will be lost.
Please, send your messages using the new domain 
(Fiware-tech-help at lists.fiware.org) instead of the old one.
_______________________________________________
Fiware-tech-help mailing list
Fiware-tech-help at lists.fiware.org
https://lists.fiware.org/listinfo/fiware-tech-help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20151004/e593a57d/attachment.html>


More information about the Fiware-tech-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy