{"id":15731431,"url":"https://github.com/revolunet/oauth2-proxy-keycloak-demo","last_synced_at":"2025-05-13T04:04:24.884Z","repository":{"id":136228962,"uuid":"608048855","full_name":"revolunet/oauth2-proxy-keycloak-demo","owner":"revolunet","description":"Sample setup for oauth2-proxy + keycloak","archived":false,"fork":false,"pushed_at":"2024-09-04T08:22:41.000Z","size":17695,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-19T05:51:04.024Z","etag":null,"topics":["docker-compose","keycloak","oauth2"],"latest_commit_sha":null,"homepage":"","language":null,"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/revolunet.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":"2023-03-01T08:00:53.000Z","updated_at":"2024-09-04T08:22:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"2c8df97b-ea7d-4010-94d2-8de260b758f0","html_url":"https://github.com/revolunet/oauth2-proxy-keycloak-demo","commit_stats":{"total_commits":10,"total_committers":2,"mean_commits":5.0,"dds":"0.30000000000000004","last_synced_commit":"57b7ab419eb2ae63bcf7f1168b00e3e5c29d3c24"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revolunet%2Foauth2-proxy-keycloak-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revolunet%2Foauth2-proxy-keycloak-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revolunet%2Foauth2-proxy-keycloak-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revolunet%2Foauth2-proxy-keycloak-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/revolunet","download_url":"https://codeload.github.com/revolunet/oauth2-proxy-keycloak-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249972875,"owners_count":21354079,"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":["docker-compose","keycloak","oauth2"],"created_at":"2024-10-04T00:01:37.919Z","updated_at":"2025-04-20T22:32:14.682Z","avatar_url":"https://github.com/revolunet.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# oauth2-proxy-keycloak-demo\n\nThis docker-compose setup demonstrates how to protect some web service behind an [oauth2-proxy](https://github.com/oauth2-proxy/oauth2-proxy) + [keycloak](https://www.keycloak.org/) authentification.\n\n[![](./diagram.jpg)](https://developer.okta.com/blog/2022/07/14/add-auth-to-any-app-with-oauth2-proxy)\n\n## Local dev setup\n\n- Add `127.0.0.1   keycloak` and `127.0.0.1   proxy` to your `/etc/hosts`. this is necessary for the keycloak redirection\n- Run `docker-compose up`\n- Login to keycloak at `http://keycloak:8080` as `admin/admin` and create a new user in the `app-realm` realm, and check its \"verified email\" status.\n- Now try to login with your new user via http://127.0.0.1:3000\n\n## Tips\n\n- To signout from the target app, call `/oauth2/sign_out`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frevolunet%2Foauth2-proxy-keycloak-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frevolunet%2Foauth2-proxy-keycloak-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frevolunet%2Foauth2-proxy-keycloak-demo/lists"}