Skip to content

Commit

Permalink
Update Metadata Element ServiceName Issue #11
Browse files Browse the repository at this point in the history
  • Loading branch information
Simone Di Franco committed Apr 20, 2023
1 parent 3e65b31 commit b6be8b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public override (string result, string contentType) Serialize()
}).ToArray(),
AttributeConsumingService = AttributeConsumingServices.Select(s => new Saml.SP.AttributeConsumingServiceType(){
index = s.Index,
ServiceName = new Saml.SP.UUID[]{ new Saml.SP.UUID(){lang = "", Value = Guid.NewGuid().ToString() } },//TODO: capire se posso rigenerarlo ogni volta o se serve salvarlo in qualche modo
ServiceName = new Saml.SP.UUID[]{ new Saml.SP.UUID(){lang = "", Value = "urn:uuid:" + Guid.NewGuid().ToString() } },//TODO: capire se posso rigenerarlo ogni volta o se serve salvarlo in qualche modo
ServiceDescription = new Saml.SP.localizedNameType[]{ new Saml.SP.localizedNameType(){lang = Language, Value = s.ServiceDescription } },
RequestedAttribute = s.ClaimTypes.Select(c => new Saml.SP.RequestedAttributeType(){
NameFormat = SamlConst.RequestedAttributeNameFormat,
Expand Down

0 comments on commit b6be8b0

Please sign in to comment.