-
-
Notifications
You must be signed in to change notification settings - Fork 217
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
allowCreate attribute not set correctly #538
Comments
I'm having the same issue in samlify 2.8.11 but did not have it in 2.8.5, if that helps narrow down the cause. |
This issue started for us after upgrading from It was introduced here: #523 with v2.8.11 In our case, this happens when we construct a
|
rrenkert
added a commit
to rrenkert/openslides-auth-service
that referenced
this issue
Apr 12, 2024
* samlify sets an empty string as default for AllowCreate in authn request which leads to errors in some IdPs. * samlify in 2.8.11 does not recognize the AllowCreate attribute so it is downgraded to 2.8.10 (tngan/samlify#538)
github-merge-queue bot
pushed a commit
to OpenSlides/openslides-auth-service
that referenced
this issue
Apr 12, 2024
* samlify sets an empty string as default for AllowCreate in authn request which leads to errors in some IdPs. * samlify in 2.8.11 does not recognize the AllowCreate attribute so it is downgraded to 2.8.10 (tngan/samlify#538) Co-authored-by: peb-adr <[email protected]>
peb-adr
added a commit
to peb-adr/openslides-auth-service
that referenced
this issue
Apr 12, 2024
…des#343) * samlify sets an empty string as default for AllowCreate in authn request which leads to errors in some IdPs. * samlify in 2.8.11 does not recognize the AllowCreate attribute so it is downgraded to 2.8.10 (tngan/samlify#538) Co-authored-by: peb-adr <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I don't set the
allowCreate
property the SAML request XML will have an empty attribute, which causes it to be invalid:<samlp:NameIDPolicy Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified" AllowCreate=""/>
If I set it to
true
(as a boolean) as specified inServiceProviderSettings
it crashes due tostring.replace is not a function
.Only if I set it to the string
"true"
does it work. So this is my workaround, but it's of course not ideal.Thanks for all your work on this library @tngan 🙏
The text was updated successfully, but these errors were encountered: