Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-4639

FIWARE.Request.Tech.Security.IDM-KeyRock.IDM and ObjectStore

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None
    • HD-Chapter:
      Security
    • HD-Enabler:
      KeyRock

      Description

      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@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@w-lab.it>
      To: fiware-tech-help@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@lists.fiware.org) instead of the old one.
      _______________________________________________
      Fiware-tech-help mailing list
      Fiware-tech-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-tech-help

      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@lists.fiware.org) instead of the old one.
      _______________________________________________
      Fiware-tech-help mailing list
      Fiware-tech-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-tech-help

        Activity

        Hide
        aalonsog Alvaro Alonso added a comment -
        Show
        aalonsog Alvaro Alonso added a comment - duplicated https://jira.fiware.org/browse/HELP-4625

          People

          • Assignee:
            aalonsog Alvaro Alonso
            Reporter:
            meth Kalman Meth
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: