Skip to content

Display default login page with only one-time token login #16414

Closed
@Kehrlann

Description

@Kehrlann
Contributor

Expected Behavior

One time token login has a dedicated field and button on the default login page (DefaultLoginPageGeneratingFilter).
Given the following configuration:

http.authorizeHttpRequests(...)
    .oneTimeTokenLogin(...)
    .build();

The default login page should be displayed, with the one time token login form.

Current Behavior

Currently, OTT alone does not enable the default login page UI. There MUST be one of formLogin, oauth2Login or saml2Login configured for the login page to be active. This is true for both Servlet and Reactive.


Planning to submit a PR for this.

Activity

added
in: webAn issue in web modules (web, webmvc)
and removed on Feb 4, 2025
jzheaux

jzheaux commented on Feb 4, 2025

@jzheaux
Contributor

Closing in favor of #16480

self-assigned this
on Feb 4, 2025
added a commit that references this issue on Feb 5, 2025
95001c3
added a commit that references this issue on Feb 10, 2025
238f47c
added this to the 6.5.0-M2 milestone on Feb 10, 2025
rwinch

rwinch commented on Feb 10, 2025

@rwinch
Member

Changing to no longer be a duplicate since we used the PR to close multiple issues and we want specific ticket in the change log

3 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: webAn issue in web modules (web, webmvc)type: enhancementA general enhancement

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @rwinch@jzheaux@Kehrlann

      Issue actions

        Display default login page with only one-time token login · Issue #16414 · spring-projects/spring-security