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

[fiware-stackoverflow] I am Unable to authenticate CKAN 2.7.2 using oauth2 on http

    Details

      Description

      Created question in FIWARE Q/A platform on 25-06-2018 at 09:06
      Please, ANSWER this question AT https://stackoverflow.com/questions/51018647/i-am-unable-to-authenticate-ckan-2-7-2-using-oauth2-on-http

      Question:
      I am Unable to authenticate CKAN 2.7.2 using oauth2 on http

      Description:
      I am using CKAN 2.7.2 .

      I have added the following configurations in my development.ini file of ckan

      ckan.oauth2.authorization_endpoint = https://account.lab.fiware.org/oauth2/authorize
      ckan.oauth2.token_endpoint = https://account.lab.fiware.org/oauth2/token
      ckan.oauth2.profile_api_url = https://account.lab.fiware.org/user
      ckan.oauth2.client_id = xyz
      ckan.oauth2.client_secret = xyz
      ckan.oauth2.profile_api_user_field = abc
      ckan.oauth2.profile_api_mail_field = abc@gmail.com

      Also, have exported the following while running ckan using paster serve :

      export OAUTHLIB_INSECURE_TRANSPORT=True

      Also, I have added an application in fiware.lab also with callback URL where the CKAN instance is running (i.e a private IP of 172.30.66.XX type running on port 5000)

      And when I click on Login,i get redirect to fiware lab login page and after logging in i get the following error

      {"state": "eyJjYW1lX2Zyb20iOiAiL2Rhc2hib2FyZCJ9", "error": "mismatching_redirect_uri"}

      (HTTP 400)

      If anyone could please help me in this. It would be of great help.

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2018-06-25 12:05|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2018-06-25 12:05|CREATED monitor | # answers= 0, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-06-25 21:05|UPDATED status: transition Answer| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2018-06-25 21:05|UPDATED status: transition Answer| # answers= 1, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-06-26 00:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2018-06-26 00:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

          People

          • Assignee:
            fdelavega Francisco de la Vega
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: