Skip to content

Modernizes the default Spring Web Authentication/Login UI and makes it easier customizable

License

Notifications You must be signed in to change notification settings

xdev-software/spring-security-advanced-authentication-ui

Repository files navigation

Latest version Build Quality Gate Status

spring-security-advanced-authentication-ui

Modernizes the default Spring Web Authentication/Login UI and makes it easier customizable.

Show demo

Demo

Usage

The library provides an adapter that can be used like this:

public SecurityFilterChain configure(final HttpSecurity http) throws Exception
{
    // Changing the text "Login with" to "Sign in with"
    http.with(new AdvancedLoginPageAdapter<>(http), c -> c
            .customizeLoginPage(p -> p.ssoLoginHeaderText("Sign in with")))
        .oauth2Login(c -> 
            // ...
        )
    // ...
}

A more detailed scenario is available in the demo.

Installation

Installation guide for the latest release

Note

To minimize the risk of dependency conflicts all Spring (Boot) dependencies are declared as provided and are not shipped by default.

Support

If you need support as soon as possible and you can't wait for any pull request, feel free to use our support.

Contributing

See the contributing guide for detailed instructions on how to get started with our project.

Dependencies and Licenses

View the license of the current project or the summary including all dependencies