Skip to content

Commit

Permalink
Update saml_idp.go
Browse files Browse the repository at this point in the history
  • Loading branch information
keac authored Mar 15, 2024
1 parent b666606 commit e1fb9e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions object/saml_idp.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ func NewSamlResponse(application *Application, user *User, host string, certific
expireTime := time.Now().UTC().Add(time.Hour * 24).Format(time.RFC3339)
samlResponse.CreateAttr("xmlns:samlp", "urn:oasis:names:tc:SAML:2.0:protocol")
samlResponse.CreateAttr("xmlns:saml", "urn:oasis:names:tc:SAML:2.0:assertion")
samlResponse.CreateAttr("xmlns:xs", "http://www.w3.org/2001/XMLSchema")
arId := uuid.New()

samlResponse.CreateAttr("ID", fmt.Sprintf("_%s", arId))
Expand Down

0 comments on commit e1fb9e5

Please sign in to comment.