{"id":21409652,"url":"https://github.com/edgar-code-repository/demo-jwt-authentication","last_synced_at":"2026-01-03T16:06:46.325Z","repository":{"id":226116631,"uuid":"766703267","full_name":"edgar-code-repository/demo-jwt-authentication","owner":"edgar-code-repository","description":"JWT authentication with Spring Boot 3.2.3 and Java 17.","archived":false,"fork":false,"pushed_at":"2024-03-23T02:10:42.000Z","size":251,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-23T04:29:23.728Z","etag":null,"topics":["java17","jwt-authentication","springboot3"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edgar-code-repository.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-04T00:36:38.000Z","updated_at":"2024-05-26T13:15:12.000Z","dependencies_parsed_at":"2024-03-22T11:15:37.677Z","dependency_job_id":null,"html_url":"https://github.com/edgar-code-repository/demo-jwt-authentication","commit_stats":null,"previous_names":["edgar-code-repository/demo-jwt-authentication"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgar-code-repository%2Fdemo-jwt-authentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgar-code-repository%2Fdemo-jwt-authentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgar-code-repository%2Fdemo-jwt-authentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgar-code-repository%2Fdemo-jwt-authentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edgar-code-repository","download_url":"https://codeload.github.com/edgar-code-repository/demo-jwt-authentication/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243910451,"owners_count":20367537,"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":["java17","jwt-authentication","springboot3"],"created_at":"2024-11-22T17:27:58.138Z","updated_at":"2026-01-03T16:06:46.289Z","avatar_url":"https://github.com/edgar-code-repository.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"DEMO JWT AUTHENTICATION\n--------------------------------------------------------------------------------------------------------------------\n\nApplication created with Spring Boot 3.2.3 and Java 17.\n\nThis Rest API returns a JWT Token when a user authenticates successfully.\n\n![ScreenshotSpringAndJWT](screenshots/spring-and-jwt.png)\n\n--------------------------------------------------------------------------------------------------------------------\n\nThis app uses Web, Spring Security, JWT and Lombok dependencies:\n\n```\n    \u003cdependency\u003e\n        \u003cgroupId\u003eorg.springframework.boot\u003c/groupId\u003e\n        \u003cartifactId\u003espring-boot-starter-web\u003c/artifactId\u003e\n    \u003c/dependency\u003e\n\n    \u003cdependency\u003e\n        \u003cgroupId\u003eorg.springframework.boot\u003c/groupId\u003e\n        \u003cartifactId\u003espring-boot-starter-security\u003c/artifactId\u003e\n    \u003c/dependency\u003e\n\n    \u003cdependency\u003e\n        \u003cgroupId\u003eio.jsonwebtoken\u003c/groupId\u003e\n        \u003cartifactId\u003ejjwt-api\u003c/artifactId\u003e\n        \u003cversion\u003e0.11.5\u003c/version\u003e\n    \u003c/dependency\u003e\n\n    \u003cdependency\u003e\n        \u003cgroupId\u003eio.jsonwebtoken\u003c/groupId\u003e\n        \u003cartifactId\u003ejjwt-impl\u003c/artifactId\u003e\n        \u003cversion\u003e0.11.5\u003c/version\u003e\n    \u003c/dependency\u003e\n\n    \u003cdependency\u003e\n        \u003cgroupId\u003eio.jsonwebtoken\u003c/groupId\u003e\n        \u003cartifactId\u003ejjwt-jackson\u003c/artifactId\u003e\n        \u003cversion\u003e0.11.5\u003c/version\u003e\n    \u003c/dependency\u003e\n    \n    \u003cdependency\u003e\n        \u003cgroupId\u003eorg.projectlombok\u003c/groupId\u003e\n        \u003cartifactId\u003elombok\u003c/artifactId\u003e\n        \u003coptional\u003etrue\u003c/optional\u003e\n    \u003c/dependency\u003e\t\t\n\n```\n\n\n--------------------------------------------------------------------------------------------------------------------\n\nCall to authentication endpoint with Postman, which returns the JWT Token:\n\n![ScreenshotPostmanAuthenticationEndpoint](screenshots/authentication_endpoint.png)\n\n--------------------------------------------------------------------------------------------------------------------\n\nCall to authentication endpoint with Postman, which returns HTTP 401 when authentication fails:\n\n![ScreenshotPostmanAuthenticationEndpoint](screenshots/bad_credentials.png)\n\n\n--------------------------------------------------------------------------------------------------------------------\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgar-code-repository%2Fdemo-jwt-authentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgar-code-repository%2Fdemo-jwt-authentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgar-code-repository%2Fdemo-jwt-authentication/lists"}