skip to Main Content

Handling MSAL Auth URIs in a Docker container

I'm trying to Dockerize a Python webapp that uses MSAL to handle authentication. I am acquiring the access token by using: auth_response = public_app.acquire_token_interactive(scopes=user_scopes, port=5000) token = auth_response['access_token'] The authentication runs smoothly whenever I test it locally. However, when I…

VIEW QUESTION

Azure – Request failed with status 400 – MSAL-NODE while calling networkClient.sendPostRequestAsync(tokenEndpoint, options)

I have implemented Azure authentiation in web API created in angular 10 application. While authenticating using URL "https://login.microsoftonline.com/" I am getting Request failed with status 400 inside MSAL-NODE while calling networkClient.sendPostRequestAsync(tokenEndpoint, options). Here is detailed error I am getting and…

VIEW QUESTION

Azure – Calling an ASP.NET Core Web API integrated to EntraId app from another .NET Core console app integrated to EntraId app fails

I have created an ASP.NET Core Web API and registered it in EntraID and configured it in my program.cs as follows: builder.Services .AddAuthentication(JwtBearerDefaults.AuthenticationScheme) .AddMicrosoftIdentityWebApi(builder.Configuration.GetSection("AzureAd")); builder.Services.AddAuthorization(); Then I have registered another app in the EntraId and configured the code in the…

VIEW QUESTION

Azure – MSAL AcquireTokenInteractive redirects browser to unavaible localhost

We are using AcquireTokenInteractive to connect to EWS 365 like this: // using Microsoft.Identity.Client 4.61.1 var pca = PublicClientApplicationBuilder .CreateWithApplicationOptions(pcaOptions) // userId, tennantid .WithDefaultRedirectUri() .Build(); ... var result = await pca.AcquireTokenInteractive(ewsScopes).ExecuteAsync(); This is more or less what the example code…

VIEW QUESTION
Back To Top
Search