Skip to content

Commit fbfa13b

Browse files
eleftheriasmarcusdacoregio
authored andcommitted
Fix OAuth 2.0 testing docs
1 parent 0c6b427 commit fbfa13b

File tree

1 file changed

+1
-1
lines changed
  • docs/modules/ROOT/pages/servlet/test/mockmvc

1 file changed

+1
-1
lines changed

docs/modules/ROOT/pages/servlet/test/mockmvc/oauth2.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ fun foo(@AuthenticationPrincipal oauth2User: OAuth2User): String? {
296296
----
297297
====
298298

299-
In that case, we can tell Spring Security to include a default `OAuth2User` using the `oauth2User` xref:servlet/test/mockmvc/request-post-processors.adoc[`RequestPostProcessor`], like so:
299+
In that case, we can tell Spring Security to include a default `OAuth2User` using the `oauth2Login` xref:servlet/test/mockmvc/request-post-processors.adoc[`RequestPostProcessor`], like so:
300300

301301
====
302302
.Java

0 commit comments

Comments
 (0)