Hi, i have an issue using an API from legrand. The API (https://partners-login.eliotbylegrand.com/token) uses the following params in the body: client_id, client_secret, Grant_type and refresh_token. When I fire this API using postman, it works as a charm but I cannot manage to get it working in NodeRed.
I suspect the refresh token. When I debug the payload object is see the following:
object
grant_type: "refresh_token"
client_id: "removed for security reasons"
client_secret: "removed for security reasons"
refresh_token: "eyJraWQiOiJjcGltY29yZV8wOTI1MjAxNSIsInZlciI6IjEuMCIsInppcCI6IkRlZmxhdGUiLCJzZXIiOiIxLjAifQ..oJPLiUqnNpTvySru.bVMHIXdcpPKSppZlX_swjkYlohSk5zkgg5b_7pXQaYwDhmY_Z5o1EYN2fnBtv5wG0U-QWUOITA8kBDoZJQlJuHe6gTFdyGY5knPsO_rD3iiGRflilvpIcgQtLHVLguOAjbAOyYZVxCLfXeWcuYOy0EcrR_VYbpeogNyOi8E7aA3F_hvfZhsojzBek9Kk-2VcP8aB2g7FQe8qeCr2Tzl3v3mpQQnMXX_ls3VikLBTGQk-77htGgTze7RHwJwSp_1O7yFMk4c5wNmscpBaskxl18buq1dCLUENAGY66074EmvuHSOIaZtOeCsOoIeUwqRaew8WujZ1io70rbEElp3-XgPouAK0IqIjau6F0wGSgnuRvHE1Vjys7iFJQ8qLZsBYMzuKpN_zEJIkT1-yzt7KFKfI-yjj9yzdDi_PKBZSoSnpMgbZ_4EWlhqCdO1tVtt_PGMuzYwisYZCbnI65Z1Iz9FEeWMIb8yA8hxzqd8DgKC77OJZp_X8aaNznPfsJgrm3oA1F-KA0wc5MQrR_szqYNNArfgN45MQe26inT1eqW5TxxokDSTEWaGPJud4dy6J89C7eBkxuadHrYLCQ45upAhltsGBESR99ZSFsqfHBhjLJpnqCo1E2ygItA_m7Gux0gvBbpBtLdhPL8IwtGiD3ptGGC3qCqpPVniRzXdKHsNeJKetKu_kElRg-eOlYtQsalMl8VPmMMm4gwOF75x-SFHUNHb_vdRu76QZXY-R6iZkvPj8zNkKvlDBzqtbdKqmPVpk4VJaljoBKNcIx7eMmGNfnxpALEX-rzUJYVh2DNrEf-FWWJ5dS5inkv2V__SdUM9JdFyaaI949bBHdA0cFXvl_VHR8JdhM_lUOPrLLAMK5VH7qXJKiu3UKNb..."
As you can see it end with ..., probably because it is too long ?
the original refresh token looks like: eyJraWQiOiJjcGltY29yZV8wOTI1MjAxNSIsInZlciI6IjEuMCIsInppcCI6IkRlZmxhdGUiLCJzZXIiOiIxLjAifQ..oJPLiUqnNpTvySru.bVMHIXdcpPKSppZlX_swjkYlohSk5zkgg5b_7pXQaYwDhmY_Z5o1EYN2fnBtv5wG0U-QWUOITA8kBDoZJQlJuHe6gTFdyGY5knPsO_rD3iiGRflilvpIcgQtLHVLguOAjbAOyYZVxCLfXeWcuYOy0EcrR_VYbpeogNyOi8E7aA3F_hvfZhsojzBek9Kk-2VcP8aB2g7FQe8qeCr2Tzl3v3mpQQnMXX_ls3VikLBTGQk-77htGgTze7RHwJwSp_1O7yFMk4c5wNmscpBaskxl18buq1dCLUENAGY66074EmvuHSOIaZtOeCsOoIeUwqRaew8WujZ1io70rbEElp3-XgPouAK0IqIjau6F0wGSgnuRvHE1Vjys7iFJQ8qLZsBYMzuKpN_zEJIkT1-yzt7KFKfI-yjj9yzdDi_PKBZSoSnpMgbZ_4EWlhqCdO1tVtt_PGMuzYwisYZCbnI65Z1Iz9FEeWMIb8yA8hxzqd8DgKC77OJZp_X8aaNznPfsJgrm3oA1F-KA0wc5MQrR_szqYNNArfgN45MQe26inT1eqW5TxxokDSTEWaGPJud4dy6J89C7eBkxuadHrYLCQ45upAhltsGBESR99ZSFsqfHBhjLJpnqCo1E2ygItA_m7Gux0gvBbpBtLdhPL8IwtGiD3ptGGC3qCqpPVniRzXdKHsNeJKetKu_kElRg-eOlYtQsalMl8VPmMMm4gwOF75x-SFHUNHb_vdRu76QZXY-R6iZkvPj8zNkKvlDBzqtbdKqmPVpk4VJaljoBKNcIx7eMmGNfnxpALEX-rzUJYVh2DNrEf-FWWJ5dS5inkv2V__SdUM9JdFyaaI949bBHdA0cFXvl_VHR8JdhM_lUOPrLLAMK5VH7qXJKiu3UKNbhpuW8.E0QwEBDh5RR91QfzLxN5jw
any idea's?