We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b399f9c commit 4c9e7f2Copy full SHA for 4c9e7f2
docs/docs/v4/welcome/migrate-quick-steps.md
@@ -1477,7 +1477,6 @@ var builder = WebApplication.CreateBuilder(args);
1477
1478
builder.AddCloudFoundryConfiguration();
1479
+builder.Configuration.AddCloudFoundryServiceBindings();
1480
-
1481
builder.Services.AddAuthentication()
1482
- .AddCloudFoundryJwtBearer(builder.Configuration);
1483
+ .AddJwtBearer().ConfigureJwtBearerForCloudFoundry();
@@ -1494,7 +1493,7 @@ var app = builder.Build();
1494
1493
app.UseAuthentication();
1495
app.UseAuthorization();
1496
1497
-app.MapGet("/jwt", async httpContext =>
+app.MapGet("/test-jwt", async httpContext =>
1498
{
1499
httpContext.Response.StatusCode = 200;
1500
httpContext.Response.ContentType = "text/plain";
0 commit comments