Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Errata risposta per errore 22 #342

Open
mauromol opened this issue May 12, 2021 · 0 comments
Open

Errata risposta per errore 22 #342

mauromol opened this issue May 12, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@mauromol
Copy link

So che questo progetto è in dismissione, ma segnalo per tenerne traccia ed eventualmente non farlo ereditare dal progetto nuovo.
Se, dopo aver inserito nome utente e password dell'utente, invece di confermare l'invio degli attributi all'SP clicco su Annulla, la risposta generata è di questo tipo:

<samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" Version="2.0" ID="id_104d7ce7981cbb7c372d233a3602dffe4881fc16" IssueInstant="2021-05-12T09:09:09Z" Destination="http://localhost:8110/sp/acs" InResponseTo="AAA_a3d2ea6c-01b0-4ff2-aaf0-eef9c0de97cc">
  <samlp:Status>
    <samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:AuthnFailed"/>
    <samlp:StatusMessage>ErrorCode nr22</samlp:StatusMessage>
  </samlp:Status>
  <saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity" NameQualifier="something">http://localhost:8088</saml:Issuer>
</samlp:Response>

Tuttavia, sia da specifica SAML che da specifica SPID, lo status dovrebbe avere uno StatusCode di primo livello pari a urn:oasis:names:tc:SAML:2.0:status:Responder ed uno StatusCode di secondo livello pari a urn:oasis:names:tc:SAML:2.0:status:AuthnFailed.

@peppelinux peppelinux added the bug Something isn't working label May 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants