Skip to content

Add missing loginPage property to One-Time Token DSLs#19250

Open
therepanic wants to merge 1 commit into
spring-projects:mainfrom
therepanic:gh-19249
Open

Add missing loginPage property to One-Time Token DSLs#19250
therepanic wants to merge 1 commit into
spring-projects:mainfrom
therepanic:gh-19249

Conversation

@therepanic
Copy link
Copy Markdown
Contributor

This adds loginPage support to both servlet and reactive One-Time Token Kotlin DSLs.

Closes: gh-19249

Comment on lines +146 to +148
@Test
fun `request when secure and custom login page then redirects to custom login page`() {
spring.register(LoginPageConfig::class.java).autowire()
Copy link
Copy Markdown
Contributor Author

@therepanic therepanic Jun 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests for both versions were partially copied from FormLoginDslTests

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 1, 2026
This adds loginPage support to both servlet and reactive One-Time Token
Kotlin DSLs.

Closes: spring-projectsgh-19249

Signed-off-by: Andrey Litvitski <andrey1010102008@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Kotlin DSL loginPage usage

2 participants