{"id":21822176,"url":"https://github.com/stylepatrick/spring-boot-web-basic-security-template","last_synced_at":"2026-05-09T13:03:41.496Z","repository":{"id":120903130,"uuid":"403741560","full_name":"stylepatrick/spring-boot-web-basic-security-template","owner":"stylepatrick","description":"Possibilities of basic auth + oauth2 login. Basic HTTP Auth with WebMVC and Spring Security. User Repository to PostgresDB and different Roles. OAuth2 connection to Google client.","archived":false,"fork":false,"pushed_at":"2021-09-10T05:29:57.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-26T07:41:23.876Z","etag":null,"topics":["basic-authentication","oauth2","postgresql","security","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stylepatrick.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-06T19:47:01.000Z","updated_at":"2021-09-10T05:31:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"c74d1dc3-0825-4cfd-8c36-300849c23d44","html_url":"https://github.com/stylepatrick/spring-boot-web-basic-security-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stylepatrick%2Fspring-boot-web-basic-security-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stylepatrick%2Fspring-boot-web-basic-security-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stylepatrick%2Fspring-boot-web-basic-security-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stylepatrick%2Fspring-boot-web-basic-security-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stylepatrick","download_url":"https://codeload.github.com/stylepatrick/spring-boot-web-basic-security-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244787084,"owners_count":20510059,"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":["basic-authentication","oauth2","postgresql","security","spring-boot"],"created_at":"2024-11-27T17:13:30.592Z","updated_at":"2026-05-09T13:03:36.438Z","avatar_url":"https://github.com/stylepatrick.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spring-boot-web-basic-security-template\n Basic Auth and Oauth2 login possibilities.\n Basic HTTP Auth with WebMVC and Spring Security. User Repository to PostgresDB and different Roles.\n Different Hashs can be used by setting a {} prefix infront of the password. Example {bcrypt} or {sha256}.\n Oauth2 is connection to the Google Client (API-Gateway) to make the authentication. \n \n Endpoints:\n  - /login for general login\n  - /logout for logout\n  - /api is public without auth\n  - /api/secret auth needed\n  - /api/topsecret auth and role TOPSECRET needed\n  - /api/user returns the user principal","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstylepatrick%2Fspring-boot-web-basic-security-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstylepatrick%2Fspring-boot-web-basic-security-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstylepatrick%2Fspring-boot-web-basic-security-template/lists"}