Skip to content

Commit 45f2800

Browse files
maartenbawcabus
andauthored
Update src/content/docs/bff/upgrading/bff-v3-to-v4.md
Co-authored-by: Wesley Cabus <[email protected]>
1 parent 88b0c50 commit 45f2800

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/bff/upgrading/bff-v3-to-v4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ app.MapRemoteBffApiEndpoint("/api/optional-user-token", "https://localhost:5010"
4242

4343
* The enum `TokenType` has been renamed to `RequiredTokenType`.
4444
* The methods to configure the token type have all been replaced with a new method `WithAccessToken()`
45-
* Requesting an optional access token should not be done with the method `WithOptionalUserAccessToken()` but with `RequiredTokenType.UserOrNone`
45+
* Requesting an optional access token should no longer be done by calling `WithOptionalUserAccessToken()`. Use `WithAccessToken(RequiredTokenType.UserOrNone)` instead.
4646

4747
### Configuring Token Types In YARP
4848

0 commit comments

Comments
 (0)