Compare commits

..

2 Commits

Author SHA1 Message Date
khwezi 3847927ace Merge pull request 'Added port stripping' (#78) from payments into master
Reviewed-on: #78
2026-06-05 07:37:16 +02:00
Khwezi Mngoma d38d1dd059 Added port stripping
continuous-integration/drone/pr Build is passing
2026-06-05 07:36:41 +02:00
+3 -2
View File
@@ -50,7 +50,8 @@ public static class Api
{
var uriBuilder = new UriBuilder(context.ProtocolMessage.RedirectUri)
{
Scheme = "https"
Scheme = "https",
Port = -1,
};
context.ProtocolMessage.RedirectUri = uriBuilder.Uri.ToString();
@@ -105,7 +106,7 @@ public static class Api
{
await context.ChallengeAsync(OpenIdConnectDefaults.AuthenticationScheme, new AuthenticationProperties
{
RedirectUri = redirectUri,
RedirectUri = redirectUri,
});
});