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

[fiware-stackoverflow] Not able to authenticate CKAN using WSO2 IDM by ckanext-oauth2 plugin

    Details

      Description

      Created question in FIWARE Q/A platform on 23-07-2018 at 13:07
      Please, ANSWER this question AT https://stackoverflow.com/questions/51478020/not-able-to-authenticate-ckan-using-wso2-idm-by-ckanext-oauth2-plugin

      Question:
      Not able to authenticate CKAN using WSO2 IDM by ckanext-oauth2 plugin

      Description:
      am using CKAN 2.7.2 .

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

      ckan.oauth2.authorization_endpoint = https://wso2IP/oauth2/authorize
      ckan.oauth2.token_endpoint = https://wso2IP/oauth2/token
      ckan.oauth2.profile_api_url = https://wso2IP/user
      ckan.oauth2.client_id = client-id
      ckan.oauth2.client_secret = clientsecret
      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 (ckan provider) in WSO2 Identity Server also with callback URL = (http://ckan-url:5000/oauth2/callback) where the CKAN instance is running (i.e a private IP of 172.30.66.XX type running on port 5000)

      So,if anyone can help urgently in the configuration to be done in WSO2 Identity Server and ckan development.ini file.

      Also,configuring on both sides,I get the error Client authentication Failed in CKAN GUI.

      Any help would be highly appreciated.

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2018-07-23 15:05|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2018-07-23 15:05|CREATED monitor | # answers= 0, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-07-26 15:06|UPDATED status: transition Answer| # answers= 1, accepted answer= False

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

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

        Show
        backlogmanager Backlog Manager added a comment - 2018-07-26 18: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: