From 2aeb2efd8c405fb7b40aa75b591b0828ef552670 Mon Sep 17 00:00:00 2001 From: mattb18 Date: Thu, 26 Jan 2023 12:00:33 +0000 Subject: [PATCH] Update README example to use displayName attribute (#486) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 71f24786..c0b98058 100644 --- a/README.md +++ b/README.md @@ -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() {