diff --git a/internal/web/auth.go b/internal/web/auth.go index c18fe24..e1f7fb2 100644 --- a/internal/web/auth.go +++ b/internal/web/auth.go @@ -140,7 +140,7 @@ func processLogin(ctx echo.Context) error { func oauthCallback(ctx echo.Context) error { user, err := gothic.CompleteUserAuth(ctx.Response(), ctx.Request()) if err != nil { - return errorRes(400, "Cannot complete user auth", err) + return errorRes(400, "Cannot complete user auth: "+err.Error(), err) } currUser := getUserLogged(ctx)