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

FIWARE.Question.Tech.Security.IDM-KeyRock.Security.IDM-KeyRock.access token request error on iOS client implementation

    Details

      Description

      Created question in FIWARE Q/A platform on 23-11-2015 at 16:11
      Please, ANSWER this question AT http://stackoverflow.com/questions/33874292/fiware-keyrock-access-token-request-error-on-ios-client-implementation

      Question:
      FIWARE KeyRock access token request error on iOS client implementation

      Description:
      I'm trying to request a KeyRock access token via iOS OAuth2 implementation.

      In iOS the callback url on OAuth is not a regular http:// url but is something like myapp://oauth/callback. The url for the authorization request is the following:

      https://account.lab.fiware.org/oauth2/authorize/?response_type=code&client_id=123&redirect_uri=myapp://oauth/callback

      After calling the url, I can login on the Fiware account, authorized my app, but instead of being redirected to my callback address myapp://oauth/callback, I always get the following error:

      Error: An error occurred when trying to obtain the authorization code.

      I can't get my access token and I'm stuck on this page:

      If I try to change the callback url, using a normal http:// address, everything works fine but on iOS that kind of url is unusable as callback in OAuth authentication.

      What's wrong?

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open In Progress In Progress
          21h 35m 1 Alvaro Alonso 24/Nov/15 3:39 PM
          In Progress In Progress Answered Answered
          1s 1 Alvaro Alonso 24/Nov/15 3:39 PM
          Answered Answered Closed Closed
          1s 1 Alvaro Alonso 24/Nov/15 3:39 PM
          fla Fernando Lopez made changes -
          Fix Version/s 2021 [ 12600 ]
          backlogmanager Backlog Manager made changes -
          Summary FIWARE.Request.Tech.Security.IDM-KeyRock.access token request error on iOS client implementation FIWARE.Question.Tech.Security.IDM-KeyRock.Security.IDM-KeyRock.access token request error on iOS client implementation
          mev Manuel Escriche made changes -
          HD-Enabler KeyRock [ 10889 ]
          HD-Chapter Security [ 10841 ]
          mev Manuel Escriche made changes -
          Summary FIWARE.Request.Lab.Security.IDM-KeyRock.access token request error on iOS client implementation FIWARE.Request.Tech.Security.IDM-KeyRock.access token request error on iOS client implementation
          aalonsog Alvaro Alonso made changes -
          Summary [fiware-stackoverflow] FIWARE KeyRock access token request error on iOS client implementation FIWARE.Request.Lab.Security.IDM-KeyRock.access token request error on iOS client implementation
          aalonsog Alvaro Alonso made changes -
          Status Answered [ 10104 ] Closed [ 6 ]
          Resolution Done [ 10000 ]
          aalonsog Alvaro Alonso made changes -
          Status In Progress [ 3 ] Answered [ 10104 ]
          aalonsog Alvaro Alonso made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          marcocipriani Marco Cipriani made changes -
          Assignee Alvaro Alonso [ aalonsog ]
          marcocipriani Marco Cipriani made changes -
          Link This issue is duplicated by HELP-5385 [ HELP-5385 ]
          backlogmanager Backlog Manager made changes -
          Field Original Value New Value
          Component/s FIWARE-TECH-HELP [ 10278 ]
          Hide
          backlogmanager Backlog Manager added a comment -

          2015-11-23 18:05|CREATED monitor | # answers= 0, accepted answer= False

          Show
          backlogmanager Backlog Manager added a comment - 2015-11-23 18:05|CREATED monitor | # answers= 0, 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: