Skip to content

Commit 8fbae41

Browse files
authored
Merge pull request #716 from DuendeSoftware/roland/bffendpoint
Remove info about post-processing
2 parents eacec7e + 5290a16 commit 8fbae41

File tree

1 file changed

+1
-1
lines changed
  • src/content/docs/bff/fundamentals/apis

1 file changed

+1
-1
lines changed

src/content/docs/bff/fundamentals/apis/local.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ The value of the header is not important, but its presence, combined with the co
8585
Additionally, API endpoints should handle scenarios where the session has expired or authorization fails without triggering an authentication redirect to the upstream identity provider. Instead, they should return Ajax-friendly status codes.
8686

8787
## Setup
88-
Duende.BFF can automate both the pre-processing step of requiring the custom anti-forgery header and the post-processing step of converting response codes for API endpoints. To do so, first add the BFF middleware to the pipeline, and then decorate your endpoints to indicate that they should receive BFF pre- and post-processing.
88+
Duende.BFF can automate the pre-processing step of requiring the custom anti-forgery header. To do so, first add the BFF middleware to the pipeline, and then decorate your endpoints to indicate that they should receive BFF pre-processing.
8989

9090
#### Add Middleware
9191
Add the BFF middleware to the pipeline by calling *UseBFF*. Note that the middleware must be placed before the authorization middleware, but after routing.

0 commit comments

Comments
 (0)