Skip to content

Commit

Permalink
log basePath
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Jogeleit <[email protected]>
  • Loading branch information
Frank Jogeleit committed Apr 12, 2024
1 parent ee68c71 commit 35cb72b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/pkg/auth/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ func Provider(provider string) gin.HandlerFunc {
}

func Valid(basePath string) gin.HandlerFunc {
zap.L().Debug("URL base path", zap.String("basePath", basePath))

return func(ctx *gin.Context) {
providerName, err := gothic.GetProviderName(ctx.Request)
if err != nil {
Expand Down

0 comments on commit 35cb72b

Please sign in to comment.