Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test C020 #4490

Closed
marpagno opened this issue Apr 12, 2024 · 3 comments
Closed

test C020 #4490

marpagno opened this issue Apr 12, 2024 · 3 comments

Comments

@marpagno
Copy link

Buongiorno,
chiederei la cortesia del dettaglio dell'errore relativo alla invocazione seguente

{
"type" : "https://govway.org/handling-errors/400/InteroperabilityInvalidRequest.html",
"title" : "InteroperabilityInvalidRequest",
"status" : 400,
"detail" : "Received request is not conform to the required interoperability profile",
"govway_id" : "9b49ea03-f8b7-11ee-b7ce-005056ae5232"
}

Mi pare che la mia invocazione sia identica a quella fatta col vostro client di esempio, ma mi sfugge evidentemente qualcosa.

Grazie e buona giornata

@marpagno
Copy link
Author

...apache http client aggiunge automaticamente l'encoding all'header content-type - che così non è più uguale a quello nella agid-jwt-signature....

@afrontera85
Copy link
Collaborator

L'errore infatti è:
Validazione security token ModI 'INTEGRITY' della richiesta fallita: Header HTTP 'content-type' possiede un valore differente rispetto a quello presente negli header firmati.
Consiglio sempre di usare il client di esempio da noi fornito #4488

@marpagno
Copy link
Author

Grazie della conferma, buona giornata

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants