-
Notifications
You must be signed in to change notification settings - Fork 0
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
generated AuthnRequest is not compliant with the "regole tecniche" #2
Comments
it seems that this could be fixed by patching saml-php:
|
quick fix for 1.:
|
forwarded to php-saml: |
additionally, the 56,57c56
< Format="{$nameIDPolicyFormat}"
< AllowCreate="true" />
---
> Format="{$nameIDPolicyFormat}" />
130c129
< <saml:Issuer>{$spEntityId}</saml:Issuer>
---
> <saml:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity" NameQualifier="http://sp2.simevo.com:8000">{$spEntityId}</saml:Issuer> |
<samlp:LogoutRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
ID="ONELOGIN_4dc8ccb81114cefe1d3f695123b02ddf85c51be4"
Version="2.0"
IssueInstant="2018-08-11T08:57:28Z"
Destination="https://idp.simevo.com/slo">
<saml:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity"
NameQualifier="http://sp2.simevo.com:8000">http://sp2.simevo.com:8000</saml:Issuer>
<saml:NameID SPNameQualifier="http://sp2.simevo.com:8000"
Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">https://idp.simevo.com</saml:NameID>
</samlp:LogoutRequest> testenv2 reports:
|
This was referenced Aug 11, 2018
no need to patch this time, this is the fix that goes in + $nameId = $this->idpName;
+ $nameIdFormat = 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient';
+ $nameIdNameQualifier = $this->idpName;
+ $sloBuiltUrl = $this->auth->logout(null, array(), $nameId, null, true, $nameIdFormat, $nameIdNameQualifier);
- $sloBuiltUrl = $this->auth->logout(null, array(), null, null, true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sample
AuthnRequest
from "regole tecniche":sample
AuthnRequest
generated by spid-php2:visual diff:

notable differences:
Issuer
element the attributesFormat=“urn:oasis:names:tc:SAML:2.0:nameid-format:entity”
andNameQualifier
are missingNameIDPolicy
has theFormat
attribute set tourn:oasis:names:tc:SAML:1.1:nameid-format:unspecified
rather thanurn:oasis:names:tc:SAML:2.0:nameid-format:transient
RequestedAuthnContext.AuthnContextClassRef
contains the valueurn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport
instead ofurn:oasis:names:tc:SAML:2.0:ac:classes:SpidL1
The text was updated successfully, but these errors were encountered: