Skip to content

Commit

Permalink
Merge pull request #12 from difrancosimone/Issue-#11
Browse files Browse the repository at this point in the history
Update Metadata Element ServiceName Issue #11
  • Loading branch information
danielegiallonardo authored Apr 20, 2023
2 parents 3e65b31 + b6be8b0 commit cddb575
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 cddb575

Please sign in to comment.