Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-12813

Push notification: Unable to read QR code on the phone when the username contains space

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 6.0.0, 6.5.0
    • Fix Version/s: None
    • Component/s: Mobile Authenticators
    • Environment:
      iOS 11.2.5 @ iPhone 8
      Android 6.0.1 @ Samsung Galaxy S6
      AM 6.0.0 -M11 @ AWS
    • Target Version/s:
    • Rank:
      1|hzvpin:

      Description

      Cannot register a device using push service when the username contains a space.

      The "Unable to read QR code" error shows up on the screen (on the phone)

      The response from authenticate endpoint is:

      {"authId":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdXRoSW5kZXhWYWx1ZSI6InB1c2hDaGFpbiIsIm90ayI6InBsY2IwZW5zNmMzMG82cmxmMzdrbDdlbGFxIiwiYXV0aEluZGV4VHlwZSI6InNlcnZpY2UiLCJyZWFsbSI6Ii8iLCJzZXNzaW9uSWQiOiJxNGoxbUZ3eUY5MWFyTTZWZ2JjUVNHdnA5LUEuKkFBSlRTUUFDTURFQUFsTkxBQnhsUjJFd1FsZG1kaTlKTlRWbFQxSnJNelpsUkhwd01sVjBWVTA5QUFSMGVYQmxBQWxKVGw5TlJVMVBVbGtBQWxNeEFBQS4qIn0.kx7UakyIWaGTLHhnnvNG9Sa5SsMjsXNQe9L1rA-YsEI","template":"","stage":"AuthenticatorPushRegistration4","header":"Register a device","callbacks":[{"type":"TextOutputCallback","output":[{"name":"message","value":"\n            Scan the barcode image below with the ForgeRock Authenticator app to register your device with your login.\n        "},{"name":"messageType","value":"0"}]},{"type":"TextOutputCallback","output":[{"name":"message","value":"window.QRCodeReader.createCode({\n    id: 'callback_1',\n    text: 'pushauth://push/forgerock:dirty user?a=aHR0cDovL2VjMi01Mi0zMS0xNDMtNjUuZXUtd2VzdC0xLmNvbXB1dGUuYW1hem9uYXdzLmNvbTo4MDgwL29wZW5hbS9qc29uL3B1c2gvc25zL21lc3NhZ2U_X2FjdGlvbj1hdXRoZW50aWNhdGU&b=519387&r=aHR0cDovL2VjMi01Mi0zMS0xNDMtNjUuZXUtd2VzdC0xLmNvbXB1dGUuYW1hem9uYXdzLmNvbTo4MDgwL29wZW5hbS9qc29uL3B1c2gvc25zL21lc3NhZ2U_X2FjdGlvbj1yZWdpc3Rlcg&s=cjtFiOprXn5ZJNgLqXXBSJP1l2VG74la0-SMd_mrC2M&c=65-Vo4fXEByu_YWYR6hQ09q_BC2LSDd5BC42nqDqt3k&l=YW1sYmNvb2tpZT0wMQ&m=b4e36f35-693b-49da-b001-3ef07cf6a48c1522938305414&issuer=Rm9yZ2VSb2Nr',\n    version: '20',\n    code: 'L'\n});"},{"name":"messageType","value":"4"}]},{"type":"PollingWaitCallback","output":[{"name":"waitTime","value":"4000"},{"name":"message","value":"Waiting for response..."}]}]}

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              joanna.wasilewska Joanna Wasilewska [X] (Inactive)
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: