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

FIWARE.Question.Tech.Apps.DataViz-SpagoBI.fiware spagobi validation with keyrock instance

    Details

      Description

      Created question in FIWARE Q/A platform on 01-09-2016 at 09:09
      Please, ANSWER this question AT http://stackoverflow.com/questions/39265267/fiware-spagobi-validation-with-keyrock-instance

      Question:
      fiware spagobi validation with keyrock instance

      Description:
      i'm using three instances in my account lab. All of them :

      1.-web app and a proxy (ubuntu image)

      2.-keyrock 5 (keyrock-R5.1.0 image)

      3.-spagobi (spagobi image)

      i having troubles setting spagobi to validate with keyrock, as in this link: authentication on spagobi using keyrock

      "error while trying to get access token from Oauth2 provider"

      I followed the guide here:

      http://spagobi.readthedocs.org/en/latest/admin/README/index.html

      the only difference is REST_BASE_URL, i change port to 5000. (default is 4730)

      I think the problem is that spagobi tries to access token without X-Auth-Token value on headers. But i don't know where can i set this on spagobi.

      Anyone know this problem and how to solve it? or maybe i'm wrong?

      my oauth2.config.properties:

      1. Informations about OAuth2 application
        CLIENT_ID = ea74f4f72ee3438a82f1af785af0ecf1
        SECRET = 21cf7df4633d4ff2b92251c266c00d09
        APPLICATION_ID = ea74f4f72ee3438a82f1af785af0ecf1
      1. OAuth2 urls
        AUTHORIZE_URL = http://example.es:8000/oauth2/authorize
        ACCESS_TOKEN_URL = http://example.es:8000/oauth2/token
        USER_INFO_URL = http://example.es:8000/user
        REDIRECT_URI = http://example.es:8080/SpagoBI/servlet/AdapterHTTP?PAGE=LoginPage&NEW_SESSION=TRUE
      1. REST API urls
        REST_BASE_URL = http://example.es:5000/v3/
        TOKEN_PATH = auth/tokens
        ROLES_PATH = OS-ROLES/roles
        ORGANIZATIONS_LIST_PATH = OS-ROLES/organizations/role_assignments
        ORGANIZATION_INFO_PATH = projects/
      1. Admin credentials
        ADMIN_ID = fiware-example-admin
        ADMIN_EMAIL = fiware@example.es
        ADMIN_PASSWORD = 01189998819991197253

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2016-09-01 12:05|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2016-09-01 12:05|CREATED monitor | # answers= 0, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2016-09-02 12:05|UPDATED status: transition Answer| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2016-09-02 12:05|UPDATED status: transition Answer| # answers= 1, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2016-09-02 15:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2016-09-02 15:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

          People

          • Assignee:
            zerbetto Davide Zerbetto
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: