Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Facchetti committed Jul 7, 2023
1 parent cf16182 commit 1765304
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/portal/middleware/aad.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,11 @@ func NewAAD(log *logrus.Entry,
func (a *aad) AAD(h http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
a.log.Errorf("there are %d cookies", len(r.Cookies()))
for _, cookie := range r.Cookies() {
a.log.Errorf("name %s", cookie.Name)
a.log.Errorf("path %s", cookie.Domain)
a.log.Errorf("domain %s", cookie.Domain)
}
session, err := a.store.Get(r, SessionName)
if err != nil {
cookieError, ok := err.(securecookie.Error)
Expand Down

0 comments on commit 1765304

Please sign in to comment.