webAuthn

fun webAuthn(webAuthnConfiguration: WebAuthnDsl.() -> Unit)

Enable WebAuthn configuration.

Example:

@Configuration
@EnableWebSecurity
class SecurityConfig {

@Bean
fun securityFilterChain(http: HttpSecurity): SecurityFilterChain {
http {
webAuthn {
loginPage = "/log-in"
}
}
return http.build()
}
}

Parameters

webAuthnConfiguration

custom configurations to be applied to the WebAuthn authentication

See also