HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. mschaffe
    3. Posts
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Error message "Authentication Error: not right number of dots, 1

      forgive me but I am new to using Hoppscotch so I am unsure how to export what is needed. Export does not give a choice.

      posted in General Questions
      M
      mschaffe
    • RE: Error message "Authentication Error: not right number of dots, 1

      @Lindon said in Error message "Authentication Error: not right number of dots, 1:

      HISE snippet

      @Lindon is this what you are looking for: (not adding username / password for the call)

      step 1 : HttpResponse response = Unirest.post("https://fedtst.excellusbcbs.com/sso/json/realms/BCBSIDP/authenticate?authIndexType=service&authIndexValue=ExcellusOTP")
      .header("Accept-API-Version", "resource=2.1")
      .asString();

      step 2: HttpResponse response = Unirest.post("https://fedtst.excellusbcbs.com/sso/json/realms/BCBSIDP/authenticate?authIndexType=service&authIndexValue=ExcellusOTP")
      .header("Accept-API-Version", "resource=2.1")
      .header("Content-Type", "application/json")
      .body("{\r\n "authId": "",\r\n "callbacks": [\r\n {\r\n "type": "NameCallback",\r\n "output": [\r\n {\r\n "name": "prompt",\r\n "value": "User Name"\r\n }\r\n ],\r\n "input": [\r\n {\r\n "name": "IDToken1",\r\n "value": ""\r\n }\r\n ],\r\n "_id": 0\r\n },\r\n {\r\n "type": "PasswordCallback",\r\n "output": [\r\n {\r\n "name": "prompt",\r\n "value": "Password"\r\n }\r\n ],\r\n "input": [\r\n {\r\n "name": "IDToken2",\r\n "value": ""\r\n }\r\n ],\r\n "_id": 1\r\n },\r\n {\r\n "type": "DeviceProfileCallback",\r\n "output": [\r\n {\r\n "name": "metadata",\r\n "value": true\r\n },\r\n {\r\n "name": "location",\r\n "value": true\r\n },\r\n {\r\n "name": "message",\r\n "value": ""\r\n }\r\n ],\r\n "input": [\r\n {\r\n "name": "IDToken3",\r\n "value": "{\"identifier\":\"3572027995-2188653373-4056795437\",\"metadata\":{\"hardware\":{\"cpuClass\":null,\"deviceMemory\":null,\"hardwareConcurrency\":8,\"maxTouchPoints\":0,\"oscpu\":null,\"display\":{\"width\":3008,\"height\":1692,\"pixelDepth\":24,\"angle\":\"\">>,\"browser\":{\"userAgent\":\"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/605.1.15 (KHTML, like Gecko) Version\/16.0 Safari\/605.1.15\",\"appName\":\"Netscape\",\"appCodeName\":\"Mozilla\",\"appVersion\":\"5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/605.1.15 (KHTML, like Gecko) Version\/16.0 Safari\/605.1.15\",\"appMinorVersion\":null,\"buildID\":null,\"product\":\"Gecko\",\"productSub\":\"20030107\",\"vendor\":\"Apple Computer, Inc.\",\"vendorSub\":\"\",\"browserLanguage\":null,\"plugins\":\";\"},\"platform\":{\"language\":\"en-US\",\"platform\":\"MacIntel\",\"userLanguage\":null,\"systemLanguage\":null,\"deviceName\":\"Mac (Browser)\",\"fonts\":\"cursive;monospace;sans-serif;fantasy;Arial;Arial Black;Arial Narrow;Arial Rounded MT Bold;Comic Sans MS;Courier;Courier New;Georgia;Impact;Papyrus;Tahoma;Trebuchet MS;Verdana;\",\"timezone\":300>>}"\r\n }\r\n ],\r\n "_id": 2\r\n }\r\n ]\r\n}")
      .asString();

      posted in General Questions
      M
      mschaffe
    • Error message "Authentication Error: not right number of dots, 1

      We are importing Postman Scripts into Hoppscotch (json format) and after our first authentication step, which returns an authentication token, we have a step to authenticate with a user ID and password. When we try this we get the following:
      {
      "code": 400,
      "reason": "Bad Request",
      "message": "Authentication Error: not right number of dots, 1"
      }

      our authentication token is returned from the application (Forgerock access manager) like this:
      "authId": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ3aGl0ZWxpc3Qtc3RhdGUiOiJmN2IxYWQ4Zi1kYjYzLTQzNzYtOTViYy1jM2Y3NmY5NTUxODgiLCJhdXRoSW5kZXhWYWx1ZSI6IkV4Y2VsbHVzT1RQIiwib3R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azl2UTBKTVdrdGpSbE16Vm1oSlVGUk1jVzFTU1dKT1ozUXROMVJxT1VNeUxVZERSRWRQTFdWMGJqTXpOakJrU0ZaWU1EUTBlRGh0UTFVMVRXVmZUSGRTYW5OUU5XRjZUa3ROWmtSd1owaE1aRTVTUzBoV2VGY3dhblZDYlVWU2NIbzRYM2cwTmpoeWRtdHRTRVpKUjA5UFUwZDBkVGd5VW1wUFozRm5kVFoyTjNjeFpUSk1jMDFVVmxOb2FqbFRjbHBEV205SFFqRTFhME15ZWtKWlJqTnFRbU5qTWpjNFNVbzNNamx6Vm5OMVRta3dSSGhZZFRkMExUbE9TelYwZFdwcU5XNUhjSEpHYWtOdVJrRnBWMEp0YlcxdVlYVnhUbDlwU2xZeWNWOU9lR0ZCUTBadGNXaEJaRnBqYVd0MmVHNDRUVGRSVjNZMk9XNDJORkl4T1ZGdldGbFZNMmhMUWpKc1VqQTFNRU5xTFRGamJuSklMVmRHY1hReU1qYzJibVpNUjBkRWNtWldPWFF6YTBoU2NGY3dkVk5DWHpaUU1VMWxSRVozWm1oRGVWUk5WemhGYlVvMlkzSXpTMnBWU1ZsR1RHd3hXWFp0WTB4YVRIUmlUVkZLZVhGTVgzZExUVTgwTVRoRFpuSm9kMDVQUTFaa1JYVnZkMkp4TUhSMU4ybFJkVTFmTUVvd2IyWkZiVGxKY1dwMVVqQnNUQzVKTldkRmRERkRTVkprTVd0b2FFMVhXRm8zVlZaMy54RE5keUQxVFY0dGw4VS1KMTBKMDlWTHlSTWlieUxPVVFJTUFiV2VCaEdFIiwiZXhwIjoxNzI4NDg1MTM5LCJpYXQiOjE3Mjg0Nzc5Mzl9.OLm3DBSss_UDCuhKxR5pBQDa19fZSy1SXIxWyU3ZqDA",

      and the other callbacks are for user name, password and device profile, which are set in the 2nd step
      What can we do to get past this point?

      posted in General Questions
      M
      mschaffe