DXFJaimik
DXFJaimik
Added code for reference: **Program.cs:** ``` using Finbuckle.MultiTenant; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.OpenApi.Models; using PerTenantAuthTest; var builder = WebApplication.CreateBuilder(args); builder.Services.AddControllers(); builder.Services.AddEndpointsApiExplorer(); builder.Services.AddSwaggerGen(options => { options.AddSecurityDefinition("oauth2", new OpenApiSecurityScheme { Type = SecuritySchemeType.OAuth2,...
Thank you for your quick reply. This is per tenant authentication, and there is an issue with JWT token validation. I tried your suggestion to place the AddAuthentication line before...