Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Bart Koelman <104792814+bart-vmware@users.noreply.github.com>
  • Loading branch information
TimHess and bart-vmware authored Jun 26, 2024
1 parent da3e16b commit c480d05
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/v4/security/jwt-authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ app.Run();
```

> [!TIP]
> In the sample code above, app.UseForwardedHeaders is used so that any links generated within the application will be compatible with reverse-proxy scenarios, such as when running in Cloud Foundry.
> In the sample code above, `app.UseForwardedHeaders` is used so that any links generated within the application will be compatible with reverse-proxy scenarios, such as when running in Cloud Foundry.
### Securing Endpoints

Expand Down
4 changes: 2 additions & 2 deletions api/v4/security/mtls.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ builder.Services.AddAuthorizationBuilder()
```

> [!TIP]
> Steeltoe configures the certificate forwarding middleware to look for a certificate in the `X-Client-Cert` header.
> Steeltoe configures the certificate forwarding middleware to look for a certificate in the `X-Client-Cert` HTTP header.
To activate certificate-based authorization in the request pipeline, use the `IApplicationBuilder` extension method `UseCertificateAuthorization`:

Expand Down Expand Up @@ -150,7 +150,7 @@ In order to use app instance identity certificates in a client application, serv

#### IHttpClientFactory integration

For applications that need to send identity certificates in outgoing requests, Steeltoe provides a smooth experience through an `IHttpClientBuilder` extension method named `AddAppInstanceIdentityCertificate`. This method invokes code that handles loading certificates from paths defined in the application's configuration, monitors those file paths and their content for changes, and places the certificate in a header named `X-Client-Cert` on all outbound requests.
For applications that need to send identity certificates in outgoing requests, Steeltoe provides a smooth experience through an `IHttpClientBuilder` extension method named `AddAppInstanceIdentityCertificate`. This method invokes code that handles loading certificates from paths defined in the application's configuration, monitors those file paths and their content for changes, and places the certificate in an HTTP header named `X-Client-Cert` on all outbound requests.

> [!TIP]
> If needed, see the Microsoft documentation on [IHttpClientFactory documentation](https://learn.microsoft.com/aspnet/core/fundamentals/http-requests)
Expand Down
2 changes: 1 addition & 1 deletion api/v4/security/sso-open-id.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ app.Run();
```

> [!TIP]
> In the sample code above, app.UseForwardedHeaders is used so that any links generated within the application will be compatible with reverse-proxy scenarios, such as when running in Cloud Foundry.
> In the sample code above, `app.UseForwardedHeaders` is used so that any links generated within the application will be compatible with reverse-proxy scenarios, such as when running in Cloud Foundry.
### Securing Endpoints

Expand Down

0 comments on commit c480d05

Please sign in to comment.