From 3138e2a59645b71ed220b7e6c0cc7dafeca9adaf Mon Sep 17 00:00:00 2001 From: Namekuji Date: Wed, 22 Mar 2023 10:45:00 -0400 Subject: [PATCH] fix returning string --- auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth.go b/auth.go index 373a2d7..dcc3c21 100644 --- a/auth.go +++ b/auth.go @@ -98,7 +98,7 @@ func loginHandler(c echo.Context) (err error) { q.Add("state", req.Redirect) redirURL.RawQuery = q.Encode() - return c.String(http.StatusCreated, mastApp.AuthURI) + return c.String(http.StatusCreated, redirURL.String()) } return c.NoContent(http.StatusNoContent)