diff --git a/internal/web/auth.go b/internal/web/auth.go index c18fe243..e1f7fb23 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)