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

[fiware-stackoverflow] Curl request for implicit grant type on fiware keyrock?

    Details

      Description

      Created question in FIWARE Q/A platform on 10-05-2019 at 09:05
      Please, ANSWER this question AT https://stackoverflow.com/questions/56072898/curl-request-for-implicit-grant-type-on-fiware-keyrock

      Question:
      Curl request for implicit grant type on fiware keyrock?

      Description:
      I wanted to fire a curl request for implicit grant type on fiware idm. I have gone through the official docs of fiware idm-

      https://fiware-idm.readthedocs.io/en/latest/oauth/oauth_documentation/index.html

      Implicit grant type exists in fiware idm, but while making a curl request it throws the following error:

      {"error":"unsupported_grant_type"}

      My curl request is as follows:

      curl -X POST -H
      "Authorization: Basic $(echo -n 56c32d7-c991-4da0-8b0a-018461ac583e6:0ec8898c-3bc7-12cd-8abd-0d6abgh01c56 | base64 -w 0)" --header "Content-Type: application/x-www-form-urlencoded" -d "grant_type=implicit&username=admin@test.com&password=1234" https://Keyrock_Host:Keyrock_Port/oauth2/token --insecure

      Does anyone know about it ?

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        3h 1 Backlog Manager 10/May/19 3:06 PM
        In Progress In Progress Answered Answered
        2h 59m 1 Backlog Manager 10/May/19 6:06 PM
        Answered Answered Closed Closed
        213d 20h 37m 1 Alvaro Alonso 10/Dec/19 1:43 PM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        aalonsog Alvaro Alonso made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2019-05-10 18:06|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2019-05-10 18:06|UPDATED status: transition Answered| # answers= 1, accepted answer= False
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2019-05-10 15:06|UPDATED status: transition Answer| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2019-05-10 15:06|UPDATED status: transition Answer| # answers= 1, accepted answer= False
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        fla Fernando Lopez made changes -
        HD-Enabler KeyRock [ 10889 ]
        Description
        Created question in FIWARE Q/A platform on 10-05-2019 at 09:05
        {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/56072898/curl-request-for-implicit-grant-type-on-fiware-keyrock


        +Question:+
        Curl request for implicit grant type on fiware keyrock?

        +Description:+
        I wanted to fire a curl request for implicit grant type on fiware idm. I have gone through the official docs of fiware idm-

        https://fiware-idm.readthedocs.io/en/latest/oauth/oauth_documentation/index.html

        Implicit grant type exists in fiware idm, but while making a curl request it throws the following error:

        {"error":"unsupported_grant_type"}


        My curl request is as follows:

        curl -X POST -H
        "Authorization: Basic $(echo -n 56c32d7-c991-4da0-8b0a-018461ac583e6:0ec8898c-3bc7-12cd-8abd-0d6abgh01c56 | base64 -w 0)" --header "Content-Type: application/x-www-form-urlencoded" -d "grant_type=implicit&username=admin@test.com&password=1234" https://Keyrock_Host:Keyrock_Port/oauth2/token --insecure


        Does anyone know about it ?
        Created question in FIWARE Q/A platform on 10-05-2019 at 09:05
        {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/56072898/curl-request-for-implicit-grant-type-on-fiware-keyrock


        +Question:+
        Curl request for implicit grant type on fiware keyrock?

        +Description:+
        I wanted to fire a curl request for implicit grant type on fiware idm. I have gone through the official docs of fiware idm-

        https://fiware-idm.readthedocs.io/en/latest/oauth/oauth_documentation/index.html

        Implicit grant type exists in fiware idm, but while making a curl request it throws the following error:

        {"error":"unsupported_grant_type"}


        My curl request is as follows:

        curl -X POST -H
        "Authorization: Basic $(echo -n 56c32d7-c991-4da0-8b0a-018461ac583e6:0ec8898c-3bc7-12cd-8abd-0d6abgh01c56 | base64 -w 0)" --header "Content-Type: application/x-www-form-urlencoded" -d "grant_type=implicit&username=admin@test.com&password=1234" https://Keyrock_Host:Keyrock_Port/oauth2/token --insecure


        Does anyone know about it ?
        fla Fernando Lopez made changes -
        Assignee Alvaro Alonso [ aalonsog ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2019-05-10 12:06|CREATED monitor | # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2019-05-10 12:06|CREATED monitor | # answers= 1, accepted answer= False
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            aalonsog Alvaro Alonso
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: