From ec44152ce7f19c720caf2783a17b9e7439b1b64d Mon Sep 17 00:00:00 2001 From: Marcus Couto Date: Thu, 21 Nov 2024 17:46:53 -0700 Subject: [PATCH] Improving documentation to ensure people don't fall into the trap of having URLs without schema and a base path. --- provider/verify_request.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/provider/verify_request.go b/provider/verify_request.go index 77e257727..60a3e9b10 100644 --- a/provider/verify_request.go +++ b/provider/verify_request.go @@ -25,6 +25,9 @@ type Hook func() error // VerifyRequest contains the verification params. type VerifyRequest struct { // Default URL to hit during provider verification. + // + // If your URL has a base path, make sure the URL includes the schema. + // Otherwise, the [net/url] package will consider it as opaque, and the base path will be lost when the URL is parsed. ProviderBaseURL string // Specify one or more additional transports to communicate to the given provider