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.
1 parent e47e719 commit 2637825Copy full SHA for 2637825
test/AspNet.Security.OAuth.Providers.Tests/OAuthTests`1.cs
@@ -142,18 +142,14 @@ public async Task OnCreatingTicket_Is_Raised_By_Handler()
142
143
void ConfigureServices(IServiceCollection services)
144
{
145
+ services.AddSingleton<System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler, FrozenJwtSecurityTokenHandler>();
146
services.PostConfigureAll<TOptions>((options) =>
147
148
options.Events.OnCreatingTicket = (context) =>
149
150
onCreatingTicketEventRaised = true;
151
return Task.CompletedTask;
152
};
-
153
- if (options is Apple.AppleAuthenticationOptions appleOptions)
154
- {
155
- appleOptions.ValidateTokens = false; // Apple test token has expired
156
- }
157
});
158
}
159
0 commit comments