From 633f17a63b5a812893e79390a59fe965680d544d Mon Sep 17 00:00:00 2001 From: Mickael Kerjean Date: Fri, 26 Aug 2022 21:03:26 +1000 Subject: [PATCH] feature (plg_authenticate_passthrough): populate session data --- server/plugin/plg_authenticate_passthrough/index.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/plugin/plg_authenticate_passthrough/index.go b/server/plugin/plg_authenticate_passthrough/index.go index 24151bae..b7c467ab 100644 --- a/server/plugin/plg_authenticate_passthrough/index.go +++ b/server/plugin/plg_authenticate_passthrough/index.go @@ -37,5 +37,7 @@ func (this Admin) EntryPoint(idpParams map[string]string, req *http.Request, res } func (this Admin) Callback(formData map[string]string, idpParams map[string]string, res http.ResponseWriter) (map[string]string, error) { - return map[string]string{}, nil + return map[string]string{ + "user": "anonymous", + }, nil }