thanks for the help it works fine now but you should add TokenEndpoint to the Microsoft option
options.TokenEndpoint = configuration["Authentication:Microsoft:TokenEndpoint"];
I am using ASP.NET Core MVC
Any Help Please
I am using Microsoft and it works fine if I configure the app register account type multitenant but I need to switch it to a single tenant
"Microsoft": { "IsEnabled": "true", "ConsumerKey": "d2a0f147-1556-4ffb-843e-db8abcce2553", "ConsumerSecret": "chW8Q~XfGxvISDzFaBZhvJ7rWj1aeAAV7J1Dhaid" },