Discussions

Ask a Question
Back to All

Test the Authentication Failed - role"

Sto cercando integrare le vostre api.

Questa è la richiesta di test per l'autenticazione.

POST /wally-services/protocol/tests/signature HTTP/1.1
Host: staging.authservices.satispay.com
digest: SHA-256=JzxNaLU1UNkdo1CogRKMOwW7oD7SnA8vodswP6eGpuo=
date: Thu, 06 May 2021 17:09:30 +0000
Authorization: Signature keyId="987vshnmpvovb2d3g94vs69ccpq9o8q9to39hj0mioam2h6v8ik3lnlvf5vm5eok1q7136mar9j03bsamp0iukaelf5jkj8k5ublkpeht0m6m2fi0b229ujm2oc8d8n5a8daatskaabiv5cmtef45vi4t0e9i5bkvp8ee3ngnk9622mva7hqmoe0o0inolgv3jneiin8", algorithm="rsa-sha256", headers="(request-target) host date digest", signature="VJJTxQ/3y4+yxYA3YjRomDXzSvLyUT+Qx+M7oD1zTdxuVLtEE1pJmO0/1RiFRWIfJYFLG4X25FEbXJTv6n1O6LMGbD7cL54yg9JFDsWdKS5/0OYO+rOlr1SUyERTqUyQZS41jYtCdknVNx4+jMHw3HDTPxftQf3VZ0HeBeFMv/02ry5SV//j5DvipFYX/c2BF0fDDsRUGmJgE4hRTJp54Q1IzPjExvpuPEydxB6bhZMHK8EmTx66yksKN4qPuPTq1wXpFt7CBnzYxpSIQEwn7tSZqwc+VcDrTDb9AO6mo/HJnqjzUlO+kbvWuJYF/W5HfqcqeDf6G9ymzPWAXLFZdyte3qOVcuPoZ/VhXWRrMxOLXUcik/C/q7GkutcnAMzDhnwYI3k1fybEiNkysSdp8cp5CBDjqgaGPKnXVPVeFDrzoshTXK/7jATqBETW1xEFn50IcQTBNi4KK47lrXPh472Qw1e0Wclz4ZcnzenSrGYv1ecTo7uFgVfKXe7AirviNGhoEcLs9r16xLOn6ayVUklFRUhOOEWXCC8QPRcQUzGJ674MQGMfQQjJB+JD8+wnPXY64wb9zZgMy9CAasXsb0tGSlkLJ4wteb94hyqB6dl72JAOuDyQJYUGHDnubkID8KoHE6S95ChR4pwzw7TcbZtOxs+KK/0uLK2bka0G9tI="
Content-Type: application/json
Content-Length: 56

{"currency":"EUR","amount_unit":100,"flow":"MATCH_CODE"}

Risponde con
"role": "PUBLIC"

e ritorna la mia key_id con lo stesso "signed_string" che ho usato.

Vorrei capire dove sto sbagliando.