{"id":19725619,"url":"https://github.com/xdev-software/spring-security-advanced-authentication-ui","last_synced_at":"2025-04-30T00:31:28.780Z","repository":{"id":231267766,"uuid":"778847643","full_name":"xdev-software/spring-security-advanced-authentication-ui","owner":"xdev-software","description":"Modernizes the default Spring Web Authentication/Login UI and makes it easier customizable","archived":false,"fork":false,"pushed_at":"2024-11-08T02:32:20.000Z","size":957,"stargazers_count":4,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2024-11-08T03:29:12.765Z","etag":null,"topics":["authentication","login","spring","spring-authentication-ui","spring-boot","spring-security","spring-web","ui"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xdev-software.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-28T14:25:03.000Z","updated_at":"2024-10-31T09:07:46.000Z","dependencies_parsed_at":"2024-04-03T07:46:23.989Z","dependency_job_id":"5419b875-815d-4c8e-97d6-938eafdbc90b","html_url":"https://github.com/xdev-software/spring-security-advanced-authentication-ui","commit_stats":null,"previous_names":["xdev-software/spring-security-advanced-authentication-ui"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdev-software%2Fspring-security-advanced-authentication-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdev-software%2Fspring-security-advanced-authentication-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdev-software%2Fspring-security-advanced-authentication-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xdev-software%2Fspring-security-advanced-authentication-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xdev-software","download_url":"https://codeload.github.com/xdev-software/spring-security-advanced-authentication-ui/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224191429,"owners_count":17271047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","login","spring","spring-authentication-ui","spring-boot","spring-security","spring-web","ui"],"created_at":"2024-11-11T23:31:35.419Z","updated_at":"2025-04-30T00:31:28.762Z","avatar_url":"https://github.com/xdev-software.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Latest version](https://img.shields.io/maven-central/v/software.xdev/spring-security-advanced-authentication-ui?logo=apache%20maven)](https://mvnrepository.com/artifact/software.xdev/spring-security-advanced-authentication-ui)\n[![Build](https://img.shields.io/github/actions/workflow/status/xdev-software/spring-security-advanced-authentication-ui/check-build.yml?branch=develop)](https://github.com/xdev-software/spring-security-advanced-authentication-ui/actions/workflows/check-build.yml?query=branch%3Adevelop)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=xdev-software_spring-security-advanced-authentication-ui\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=xdev-software_spring-security-advanced-authentication-ui)\n\n# Advanced authentication UI for Spring Security\n\nModernizes the default Spring Web Authentication/Login UI and makes it easier customizable.\n\n\u003cdetails\u003e\u003csummary\u003eShow demo\u003c/summary\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"./assets/demo.png\" alt=\"Demo\" /\u003e\n\u003c/p\u003e\n\n\u003c/details\u003e\n\n## Usage\n\nThe library provides an adapter that can be used like this:\n```java\npublic SecurityFilterChain configure(final HttpSecurity http) throws Exception\n{\n    // Changing the text \"Login with\" to \"Sign in with\"\n    http.with(new AdvancedLoginPageAdapter\u003c\u003e(http), c -\u003e c\n            .customizeLoginPage(p -\u003e p.ssoLoginHeaderText(\"Sign in with\")))\n        .oauth2Login(c -\u003e \n            // ...\n        )\n    // ...\n}\n```\n\nA more detailed scenario is available in the [demo](./spring-security-advanced-authentication-ui-demo/).\n\n\u003e [!NOTE]\n\u003e By default [Bootstrap](https://github.com/twbs/bootstrap) is loaded from ``cdn.jsdelivr.net``.\u003cbr/\u003e\n\u003e Due to privacy and stability reasons you should ship your own version!\u003cbr/\u003e\n\u003e An example how this can be done is shown in the [demo](https://github.com/xdev-software/spring-security-advanced-authentication-ui/blob/4117d471e036de4dc2a58b2b484f2631afe7af50/spring-security-advanced-authentication-ui-demo/src/main/java/software/xdev/security/MainWebSecurity.java#L44-L51).\n\n\u003e [!NOTE]\n\u003e The ``Advanced``-subsystem uses the pre-``Spring Security 6.4`` / ``Spring Boot 3.4`` templating system (without Regex).\u003cbr/\u003e\n\u003e * In contrast to Spring's new Regex based system not all values are escaped by default\n\u003e   * Usually they don't need to be escaped in the first place as they are set on the server side and can't be modified by a user\n\u003e * This is A LOT FASTER (in tests around 50x) than Spring's new Regex based system\n\n## Installation\n[Installation guide for the latest release](https://github.com/xdev-software/spring-security-advanced-authentication-ui/releases/latest#Installation)\n\n\u003e [!NOTE]  \n\u003e To minimize the risk of dependency conflicts all Spring (Boot) dependencies are declared as provided and are not shipped by default.\n\n## Support\nIf you need support as soon as possible and you can't wait for any pull request, feel free to use [our support](https://xdev.software/en/services/support).\n\n## Contributing\nSee the [contributing guide](./CONTRIBUTING.md) for detailed instructions on how to get started with our project.\n\n## Dependencies and Licenses\nView the [license of the current project](LICENSE) or the [summary including all dependencies](https://xdev-software.github.io/spring-security-advanced-authentication-ui/dependencies)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxdev-software%2Fspring-security-advanced-authentication-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxdev-software%2Fspring-security-advanced-authentication-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxdev-software%2Fspring-security-advanced-authentication-ui/lists"}