Browse Source

More logging

pull/36/head
Kegan Dougal 8 years ago
parent
commit
de3dc5f33c
  1. 4
      src/github.com/matrix-org/go-neb/realms/github/github.go

4
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 return nil
} }
session.ClientsRedirectURL = reqBody.RedirectURL 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) _, err = database.GetServiceDB().StoreAuthSession(session)
if err != nil { if err != nil {

Loading…
Cancel
Save