Skip to content

Commit fa7b30b

Browse files
authored
chain msg event (#2468)
1 parent e5efeaa commit fa7b30b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.Identity.Web/WebApiExtensions/MicrosoftIdentityWebApiAuthenticationBuilderExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ private static void AddMicrosoftIdentityWebApiImplementation(
230230
}
231231

232232
options.TokenValidationParameters.EnableAadSigningKeyIssuerValidation();
233-
options.Events.OnMessageReceived = async context =>
233+
options.Events.OnMessageReceived += async context =>
234234
{
235235
context.Options.TokenValidationParameters.ConfigurationManager ??= options.ConfigurationManager as BaseConfigurationManager;
236236
await Task.CompletedTask.ConfigureAwait(false);

0 commit comments

Comments
 (0)