Skip to content

Commit 4c9e7f2

Browse files
TimHessbart-vmware
andauthored
Apply suggestions from code review
Co-authored-by: Bart Koelman <[email protected]>
1 parent b399f9c commit 4c9e7f2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/docs/v4/welcome/migrate-quick-steps.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1477,7 +1477,6 @@ var builder = WebApplication.CreateBuilder(args);
14771477

14781478
builder.AddCloudFoundryConfiguration();
14791479
+builder.Configuration.AddCloudFoundryServiceBindings();
1480-
14811480
builder.Services.AddAuthentication()
14821481
- .AddCloudFoundryJwtBearer(builder.Configuration);
14831482
+ .AddJwtBearer().ConfigureJwtBearerForCloudFoundry();
@@ -1494,7 +1493,7 @@ var app = builder.Build();
14941493
app.UseAuthentication();
14951494
app.UseAuthorization();
14961495

1497-
app.MapGet("/jwt", async httpContext =>
1496+
app.MapGet("/test-jwt", async httpContext =>
14981497
{
14991498
httpContext.Response.StatusCode = 200;
15001499
httpContext.Response.ContentType = "text/plain";

0 commit comments

Comments
 (0)