{"id":33077426,"url":"https://github.com/sebastienblanc/spring-boot-keycloak-tutorial","last_synced_at":"2026-06-12T16:01:42.401Z","repository":{"id":65744664,"uuid":"92294705","full_name":"sebastienblanc/spring-boot-keycloak-tutorial","owner":"sebastienblanc","description":"Easily Secure your Spring Boot Apps with Keycloak","archived":false,"fork":false,"pushed_at":"2018-01-17T22:36:01.000Z","size":15,"stargazers_count":201,"open_issues_count":7,"forks_count":103,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-05-21T00:00:36.709Z","etag":null,"topics":["keycloak","openid","redhat","security","springboot"],"latest_commit_sha":null,"homepage":"https://developers.redhat.com/blog/?p=432287","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/sebastienblanc.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}},"created_at":"2017-05-24T13:23:08.000Z","updated_at":"2024-03-23T16:37:01.000Z","dependencies_parsed_at":"2023-02-07T18:25:11.869Z","dependency_job_id":null,"html_url":"https://github.com/sebastienblanc/spring-boot-keycloak-tutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sebastienblanc/spring-boot-keycloak-tutorial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastienblanc%2Fspring-boot-keycloak-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastienblanc%2Fspring-boot-keycloak-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastienblanc%2Fspring-boot-keycloak-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastienblanc%2Fspring-boot-keycloak-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sebastienblanc","download_url":"https://codeload.github.com/sebastienblanc/spring-boot-keycloak-tutorial/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastienblanc%2Fspring-boot-keycloak-tutorial/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34251773,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["keycloak","openid","redhat","security","springboot"],"created_at":"2025-11-14T11:00:29.138Z","updated_at":"2026-06-12T16:01:42.396Z","avatar_url":"https://github.com/sebastienblanc.png","language":"Java","funding_links":[],"categories":["Example Projects"],"sub_categories":[],"readme":"Easily Secure your Spring Boot Apps with Keycloak\n=================================================\n\nThis is the support repository for :\n- This [Blog Post](https://developers.redhat.com/blog/?p=432287)\n- These screencasts : [Part 1](https://youtu.be/UUWyu1kG6YI) and [Part 2](https://youtu.be/Yc5Qe5C3Xn4)\n\nThe full instructions to setup the [Keycloak Server](http://www.keycloak.org/downloads.html) can be found in the Blog Post.\n\n\nTo start the app from the command line :\n```\n\nmvn clean spring-boot:run\n\n```\n\n## Importing the realm\n\nIf you don't want to create and configure the initial Keycloak Realm manually, you can just import it through the Keycloak Web Console. Import the [springdemo.json](springdemo.json) which is located at the root of this repo.\n\n\n# Part 1 - Create a Spring Boot app and add Keycloak support\n\nThis is on the [Master branch](https://github.com/sebastienblanc/spring-boot-keycloak-tutorial/tree/master)\n\n# Part 2 - Add Spring Security support\n\nThis is on the [Spring Security branch](https://github.com/sebastienblanc/spring-boot-keycloak-tutorial/tree/spring-security)\n\n# Part 3 - Splitting the monolith and secure microservices\n\nTODO\n\n## Resources\n\n* [Keycloak website](http://www.keycloak.org/)\n* [Spring Boot Keycloak Adapter Doc](https://keycloak.gitbooks.io/documentation/securing_apps/topics/oidc/java/spring-boot-adapter.html)\n* [Spring Security Keycloak Adapter](https://keycloak.gitbooks.io/documentation/securing_apps/topics/oidc/java/spring-security-adapter.html)\n* [Keycloak quickstarts](https://github.com/keycloak/keycloak-quickstarts)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebastienblanc%2Fspring-boot-keycloak-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsebastienblanc%2Fspring-boot-keycloak-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebastienblanc%2Fspring-boot-keycloak-tutorial/lists"}