We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 39c7d6b + b1d37fe commit b32d621Copy full SHA for b32d621
1 file changed
Web/Resgrid.Web.Services/Startup.cs
@@ -165,6 +165,11 @@ public void ConfigureServices(IServiceCollection services)
165
{
166
options.AuthToken = NumberProviderConfig.TwilioAuthToken;
167
options.AllowLocal = false;
168
+ // BaseUrlOverride ensures the URL used for signature validation matches
169
+ // what Twilio used when signing the request, regardless of any scheme
170
+ // override applied by upstream middleware (e.g. http → https rewrites).
171
+ if (!string.IsNullOrWhiteSpace(Config.SystemBehaviorConfig.ResgridApiBaseUrl))
172
+ options.BaseUrlOverride = Config.SystemBehaviorConfig.ResgridApiBaseUrl;
173
});
174
175
services.AddApiVersioning(x =>
0 commit comments