diff --git a/oauth2.go b/oauth2.go index cb1d26a..b87e9c2 100644 --- a/oauth2.go +++ b/oauth2.go @@ -217,5 +217,5 @@ func extractPath(next string) string { if err != nil { return "/" } - return n.Path + return n.RequestURI() }