Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mgyongyosi committed Sep 16, 2024
1 parent a0e4509 commit 9fa8a46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/trivial/trivial.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func hello(w http.ResponseWriter, r *http.Request) {

func logout(w http.ResponseWriter, r *http.Request) {
nameID := samlsp.AttributeFromContext(r.Context(), "urn:oasis:names:tc:SAML:attribute:subject-id")
url, err := samlMiddleware.ServiceProvider.MakeRedirectLogoutRequest(nameID, "")
url, err := samlMiddleware.ServiceProvider.MakeRedirectLogoutRequest(nameID, "", "")
if err != nil {
panic(err) // TODO handle error
}
Expand Down

0 comments on commit 9fa8a46

Please sign in to comment.