Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
bookpanda committed Aug 15, 2024
1 parent b82e75c commit 8f046a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/internal/auth/auth.handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ func (h *handlerImpl) ValidateST(c context.Ctx) {
return
}

h.log.Info("ValidateST: ", zap.String("service", service), zap.String("serviceTicket.ServiceUrl", serviceTicket.ServiceUrl))
if service != serviceTicket.ServiceUrl {
h.log.Error("ValidateST: 'service' query parameter does not match the service ticket")
c.UnauthorizedError("'service' query parameter does not match the service ticket")
Expand Down

0 comments on commit 8f046a2

Please sign in to comment.