Skip to content

Commit

Permalink
Update README example to use displayName attribute (crewjam#486)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattb18 authored and mgyongyosi committed Mar 31, 2023
1 parent 5f476db commit 87afeba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -58,7 +58,7 @@ import (
)

func hello(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Hello, %s!", samlsp.AttributeFromContext(r.Context(), "cn"))
fmt.Fprintf(w, "Hello, %s!", samlsp.AttributeFromContext(r.Context(), "displayName"))
}

func main() {
Expand Down

0 comments on commit 87afeba

Please sign in to comment.