-
Notifications
You must be signed in to change notification settings - Fork 37
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
if AuthnRequest RequestedAuthnContext Comparison is set to minimum, ForceAuthn must be set to true ? #94
Comments
if the answer is yes, we can implement it as in here: fc61f0e#diff-d701c062084416d9da7c836d589226e5R24 if (isset($this->idp->sp->settings['sp_comparison'])) {
$comparison = $this->idp->sp->settings['sp_comparison'];
} else {
$comparison = "exact";
}
$force = ($level > 1 || $comparison == "minimum") ? "true" : "false"; |
cfr https://docs.italia.it/italia/spid/spid-regole-tecniche/it/stabile/single-sign-on.html#authnrequest The comparison attribute should be minimum because of this note in the doc:
If the Level can be greater than 1, the request should present the flag ForceAuthn:
|
looking at line 1804:
for SPID, it can be: https://www.spid.gov.it/SpidL1, https://www.spid.gov.it/SpidL2 or https://www.spid.gov.it/SpidL3 line 1812:
for SPID, any of the 4 values is possible: exact, minimum, better or maximum line 2042:
for SPID, ForceAuthn must be true for SpidL2 and SpidL3 sooo, if I request SpidL1 with comparison = minimum, I think ForceAuthn can be false |
In the Spid Saml Check tool, it waits in test AuthnRequest for flag set to true.
|
Ok let's check why is that italia/spid-saml-check#50 |
A quanto descritto in https://docs.italia.it/italia/spid/spid-regole-tecniche/it/stabile/single-sign-on.html#authnrequest :
Quindi anche impostando nella richiesta un livello minimo La necessità di questo attributo è stato notato inizialmente indicato come problema nel test-environment ufficiale qui: italia/spid-testenv#37 Non ho trovato un'indicazione precisa nella normativa di questo obbligo, se non uno desumibile dalle condizioni qui esposte. |
Grazie per tutti i commenti, ora mi sono convinto anche io che anche mancando un'indicazione normativa deve essere così se no |
see this comment: #84 (comment)
@umigliore can you provide a normative reference for this ? thanks !
The text was updated successfully, but these errors were encountered: