From de3dc5f33c8189f010ac306370f98c990ea1334a Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Thu, 18 Aug 2016 17:50:13 +0100 Subject: [PATCH] More logging --- src/github.com/matrix-org/go-neb/realms/github/github.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/github.com/matrix-org/go-neb/realms/github/github.go b/src/github.com/matrix-org/go-neb/realms/github/github.go index f4f0717..d7c2c69 100644 --- a/src/github.com/matrix-org/go-neb/realms/github/github.go +++ b/src/github.com/matrix-org/go-neb/realms/github/github.go @@ -147,6 +147,10 @@ func (r *GithubRealm) RequestAuthSession(userID string, req json.RawMessage) int return nil } session.ClientsRedirectURL = reqBody.RedirectURL + log.WithFields(log.Fields{ + "clients_redirect_url": session.ClientsRedirectURL, + "redirect_url": u.String(), + }).Print("RequestAuthSession: Performing redirect") _, err = database.GetServiceDB().StoreAuthSession(session) if err != nil {