Skip to content

Fix Kotlin DSL webAuthn { } #16338

Closed
Closed
@franticticktick

Description

WebAuthnDsl is implemented incorrectly, we need to change the implementation of the get() method according to the usual spring security template, as in other kotlin DSLs. Now, due to incorrect implementation, the default configuration will not work.

        @Bean
        open fun securityFilterChain(http: HttpSecurity): SecurityFilterChain {
            http{
                formLogin { }
                webAuthn { }
            }
            return http.build()
        }

In addition, the DSL is missing disableDefaultRegistrationPage.

Metadata

Labels

in: configAn issue in spring-security-configtype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions