Skip to content

Commit

Permalink
🐛 fixed #569
Browse files Browse the repository at this point in the history
  • Loading branch information
neozhu committed Dec 18, 2023
1 parent 63f3bc1 commit 89aa348
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Infrastructure/DependencyInjection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,8 @@ private static IServiceCollection AddAuthenticationService(this IServiceCollecti
ValidateAudience = false,
RoleClaimType = ClaimTypes.Role,
ClockSkew = TimeSpan.Zero,
ValidateLifetime = true
ValidateLifetime = false,
};

options.Events = new JwtBearerEvents
{
OnMessageReceived = context =>
Expand Down

0 comments on commit 89aa348

Please sign in to comment.