{"id":28047906,"url":"https://github.com/clau-lopez/spring-security-jwt-integration","last_synced_at":"2026-05-09T15:10:27.771Z","repository":{"id":78318997,"uuid":"105478171","full_name":"clau-lopez/spring-security-jwt-integration","owner":"clau-lopez","description":"This project try to provide a easy way to use JWT in your Spring Security implementation","archived":false,"fork":false,"pushed_at":"2017-10-08T20:09:51.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-11T21:55:36.042Z","etag":null,"topics":["java","jwt","jwt-authentication","jwt-token","spring","spring-boot","spring-security"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clau-lopez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-10-01T22:09:21.000Z","updated_at":"2017-10-03T22:46:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"a2a85c06-1b9e-47ba-8c37-46a87c6cb367","html_url":"https://github.com/clau-lopez/spring-security-jwt-integration","commit_stats":null,"previous_names":["clau-lopez/spring-security-jwt-integration","colopezfuentes/spring-security-jwt-integration"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clau-lopez%2Fspring-security-jwt-integration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clau-lopez%2Fspring-security-jwt-integration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clau-lopez%2Fspring-security-jwt-integration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clau-lopez%2Fspring-security-jwt-integration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clau-lopez","download_url":"https://codeload.github.com/clau-lopez/spring-security-jwt-integration/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253639575,"owners_count":21940446,"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":["java","jwt","jwt-authentication","jwt-token","spring","spring-boot","spring-security"],"created_at":"2025-05-11T21:55:39.990Z","updated_at":"2026-05-09T15:10:22.732Z","avatar_url":"https://github.com/clau-lopez.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Security JWT Integration\nThis project is a library that allow connect a Spring application using Spring Security and JWT easily.\n\n## Maven Dependency\n\n```\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.github.colopezfuentes\u003c/groupId\u003e\n    \u003cartifactId\u003espring-security-jwt-integration\u003c/artifactId\u003e\n    \u003cversion\u003e0.0.1-RELEASE\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## How to Use it\n\n- Include this dependency in your project.\n- Setup the properties\n- To generate a new token do a **POST** request a \"http://localhost:MY_PORT/MY-CONTEXT-PATH/auth\"\nwith \n```\n {\n    \"user\":\"myUser\",\n    \"password\":\"myPassword\"\n }\n\n```\n- To request to any other secure endpoint include a header **\"Authorization\"** with the token.\n\n## Suggestions\n\n  - Re implement a bean for DefaultPasswordEncoder\n  - Re implement a bean for DefaultUserDetailService\n  - Re implement a bean for DefaultWebSecurityConfig (optional)\n  \n These implementations are provided with a not secure default logic \n\n## Properties\n\n```\nsecurity.jwt.secret-key=\nsecurity.jwt.expiration-date=  #In seconds\nsecurity.jwt.default-password=\nsecurity.jwt.default-user=\n```\n\n## Authors\n[@colopezfuentes](https://github.com/colopezfuentes)\n[@diegosep](https://github.com/diegosep)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclau-lopez%2Fspring-security-jwt-integration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclau-lopez%2Fspring-security-jwt-integration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclau-lopez%2Fspring-security-jwt-integration/lists"}