Skip to content

Commit

Permalink
fix: remove NotBefore attribute from SubjectConfirmationData (#57) (#58)
Browse files Browse the repository at this point in the history
fix: remove NotBefore attribute from SubjectConfirmationData (#57) (#58)
  • Loading branch information
feeltheajf committed Sep 15, 2023
1 parent afbec8e commit dd53243
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion pkg/provider/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ func makeAssertion(
Method: "urn:oasis:names:tc:SAML:2.0:cm:bearer",
SubjectConfirmationData: &saml.SubjectConfirmationDataType{
InResponseTo: requestID,
NotBefore: issueInstant,
NotOnOrAfter: untilInstant,
},
},
Expand Down
1 change: 0 additions & 1 deletion pkg/provider/xml/saml/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ type SubjectConfirmationType struct {

type SubjectConfirmationDataType struct {
XMLName xml.Name `xml:"urn:oasis:names:tc:SAML:2.0:assertion SubjectConfirmationData"`
NotBefore string `xml:"NotBefore,attr,omitempty"`
NotOnOrAfter string `xml:"NotOnOrAfter,attr,omitempty"`
Recipient string `xml:"Recipient,attr,omitempty"`
InResponseTo string `xml:"InResponseTo,attr,omitempty"`
Expand Down

0 comments on commit dd53243

Please sign in to comment.