skip to Main Content

Why does Postman show a sign-in page instead of ‘hello’ when calling a .NET API on Azure?

instead of returning hello it requires a sign in. I have tried to pass tokens etc. this works fine in the browser[cannot seem to replicate openID connect auth flow] services.AddMicrosoftIdentityWebAppAuthentication(Configuration) .EnableTokenAcquisitionToCallDownstreamApi() .AddMicrosoftGraph(options => { Configuration.Bind("AzureAd", options); options.Scopes = AppSettings.GetScopes(); })…

VIEW QUESTION
Back To Top
Search