Skip to content

Commit

Permalink
Merge pull request #174 from meysamhadeli/develop
Browse files Browse the repository at this point in the history
chore: Change RequireHttpsMetadata
  • Loading branch information
meysamhadeli authored Feb 12, 2023
2 parents 9b703f0 + bcd8a53 commit cd6e501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BuildingBlocks/Jwt/JwtExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static IServiceCollection AddJwt(this IServiceCollection services)
{
options.Authority = jwtOptions.Authority;
options.TokenValidationParameters.ValidateAudience = false;
options.RequireHttpsMetadata = jwtOptions.RequireHttpsMetadata;
options.RequireHttpsMetadata = false;
});

if (!string.IsNullOrEmpty(jwtOptions.Audience))
Expand Down

0 comments on commit cd6e501

Please sign in to comment.