I have a JavaScript web application that logs into Azure, that works fine and I get an Authorizaton Code. Te FE calls after that a Microsoft Web API backend to consume various resources (on prem). How can I get the access token and refresh token?
I looks like the following approach expects and access token:
builder.Services.AddMicrosoftIdentityWebApiAuthentication(builder.Configuration);