Skip to content

Commit 2f81d2d

Browse files
authored
Merge Fix spring-security-webauthn dependency in passkeys documentation
2 parents 6cf4a5e + 26937bf commit 2f81d2d

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

docs/modules/ROOT/pages/servlet/authentication/passkeys.adoc

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ After the credential is registered, it can be used to authenticate by xref:servl
1010
[[passkeys-dependencies]]
1111
== Required Dependencies
1212

13-
To get started, add the `webauthn4j-core` dependency to your project.
13+
To get started, add the `spring-security-webauthn` dependency to your project.
1414

1515
[NOTE]
1616
====
@@ -26,12 +26,7 @@ Maven::
2626
----
2727
<dependency>
2828
<groupId>org.springframework.security</groupId>
29-
<artifactId>spring-security-web</artifactId>
30-
</dependency>
31-
<dependency>
32-
<groupId>com.webauthn4j</groupId>
33-
<artifactId>webauthn4j-core</artifactId>
34-
<version>{webauthn4j-core-version}</version>
29+
<artifactId>spring-security-webauthn</artifactId>
3530
</dependency>
3631
----
3732
@@ -40,8 +35,7 @@ Gradle::
4035
[source,groovy,role="secondary",subs="verbatim,attributes"]
4136
----
4237
dependencies {
43-
implementation "org.springframework.security:spring-security-web"
44-
implementation "com.webauthn4j:webauthn4j-core:{webauthn4j-core-version}"
38+
implementation "org.springframework.security:spring-security-webauthn"
4539
}
4640
----
4741
======

0 commit comments

Comments
 (0)