-
Notifications
You must be signed in to change notification settings - Fork 475
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
Support for AttributeConsumingService #406
Comments
When I use Github search to search the code for "AttributeConsumingService", I get back no results, so I'm guessing the answer is "not currently". If it makes the project more spec-compliant, a pull request is welcome. It should include updating the documentation, adding test coverage, references to the part of the spec being implemented and ideally some peer review. |
It does seem strange that passport-saml has an passport-saml/src/node-saml/saml.ts Lines 1314 to 1407 in 54a1e04
|
Maybe something like this, at the end of if (this.options.attributeConsumingServices) {
this.options.attributeConsumingServices.forEach((attributeConsumingService, index) => {
metadata.EntityDescriptor.SPSSODescriptor.AttributeConsumingService = {
'@index': index,
'@isDefault': attributeConsumingService.isDefault,
ServiceName: attributeConsumingService.name,
ServiceDescription: attributeConsumingService.description,
RequestedAttribute: attributeConsumingService.requestedAttributes.map(requestedAttribute => ({
'@isRequired': requestedAttribute.isRequired,
'@FriendlyName': requestedAttribute.friendlyName,
'@Name': requestedAttribute.name,
'@NameFormat': requestedAttribute.nameFormat
}))
};
})
} |
@aeaton-overleaf , are you willing to put up a PR for this? |
@cjbarth I'm not planning to work on this immediately, but a colleague may be able to write up a PR later this year (pending other priorities - let me know if there's a need for it sooner). |
As this is a community-driven project, we look forward to, and depend upon, those that notice missing features putting up a PR to fill that need. The maintainers will be here to help the PR along. |
I think currently implemented by under lib: |
Hi, is there a way to configure
<md:AttributeConsumingService>
with this library? Or do attribute requirements have to be communicated out-of-band to the IdP?https://en.wikipedia.org/wiki/SAML_Metadata#Service_Provider_Metadata
The text was updated successfully, but these errors were encountered: