{"id":20299260,"url":"https://github.com/jambit/keycloak-service","last_synced_at":"2025-07-13T23:35:48.329Z","repository":{"id":147274633,"uuid":"170838008","full_name":"jambit/keycloak-service","owner":"jambit","description":null,"archived":false,"fork":false,"pushed_at":"2019-02-15T14:28:28.000Z","size":453,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-04T06:14:17.322Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/jambit.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,"publiccode":null,"codemeta":null}},"created_at":"2019-02-15T09:29:02.000Z","updated_at":"2019-02-15T14:28:29.000Z","dependencies_parsed_at":"2023-03-29T18:24:12.795Z","dependency_job_id":null,"html_url":"https://github.com/jambit/keycloak-service","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jambit/keycloak-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jambit%2Fkeycloak-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jambit%2Fkeycloak-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jambit%2Fkeycloak-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jambit%2Fkeycloak-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jambit","download_url":"https://codeload.github.com/jambit/keycloak-service/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jambit%2Fkeycloak-service/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265222973,"owners_count":23730327,"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":[],"created_at":"2024-11-14T16:14:01.758Z","updated_at":"2025-07-13T23:35:48.298Z","avatar_url":"https://github.com/jambit.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Info\nThis service runs only together with\n- [coffee-order-frontend](https://github.com/jambit/coffee-order-frontend)\n- [coffee-order-service](https://github.com/jambit/coffee-order-service)\n\ncheckout and build those projects as well.\n\n# Setup\n- install [Docker](https://www.docker.com/products/docker-desktop)\n\n- to make everything work, you must add the following line to your `/etc/hosts`\n```\n127.0.0.1   keycloak\n````\n\nOtherwise the redirects to keycloak do not work. This host **must** be used in all systems which communicate with keycloak (i.e. frontend, backend service, 3rd party identity provider, etc.).\n\n## Setup Keycloak\n- create a new realm `CoffeeOrderRealm`\n- set Login settings a reqired\n- set email \n    - host=`mailserver`\n    - port=`1025`\n    - from= any sender address you want\n- create client `coffee-order-frontend` with \n    - Client Protocol = `openid-connect`\n    - Access Type = `public`\n    - Valid Redirect URL = `http://localhost:8081/*`\n    - Web Origins = `+` (to use all URLs specified in Valid Redirect URL)\n- create client `coffee-order-service` with\n    - Client Protocol = `openid-connect`\n    - Access Type = `bearer-only`\n- create role `users` and set this role as default role\n\n# Build\n- build project with `mvn clean install`. This builds the war file and the docker images.\n\n# Start\n- start everything with `docker compose up`\n- NOTE: you must also build the docker containers for `coffee-order-frontend` and `coffee-order-service-spring` first.\n\n# Architecture\n ![Architecture](./doc/DemoArchitecture.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjambit%2Fkeycloak-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjambit%2Fkeycloak-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjambit%2Fkeycloak-service/lists"}