{"id":20963415,"url":"https://github.com/thorsten-l/keycloak-sample-environment","last_synced_at":"2025-06-11T20:40:22.018Z","repository":{"id":190110083,"uuid":"681961291","full_name":"thorsten-l/Keycloak-Sample-Environment","owner":"thorsten-l","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-16T19:52:26.000Z","size":2000,"stargazers_count":3,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-18T18:49:37.271Z","etag":null,"topics":["keycloak","keycloak-client","keycloak-provider","oidc","openid","openid-client","openid-connect","openid-provider","openid-sample","openid-server"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thorsten-l.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":"2023-08-23T06:23:54.000Z","updated_at":"2024-10-16T19:50:27.000Z","dependencies_parsed_at":"2023-08-23T08:56:43.678Z","dependency_job_id":"e1cef38f-e2f4-4715-827a-090dec2dbcc1","html_url":"https://github.com/thorsten-l/Keycloak-Sample-Environment","commit_stats":null,"previous_names":["thorsten-l/keycloak-sample-environment"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorsten-l%2FKeycloak-Sample-Environment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorsten-l%2FKeycloak-Sample-Environment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorsten-l%2FKeycloak-Sample-Environment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorsten-l%2FKeycloak-Sample-Environment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thorsten-l","download_url":"https://codeload.github.com/thorsten-l/Keycloak-Sample-Environment/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225284180,"owners_count":17449847,"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":["keycloak","keycloak-client","keycloak-provider","oidc","openid","openid-client","openid-connect","openid-provider","openid-sample","openid-server"],"created_at":"2024-11-19T02:45:03.464Z","updated_at":"2024-11-19T02:45:04.201Z","avatar_url":"https://github.com/thorsten-l.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Keycloak](https://keycloak.org) Sample Environment\n\n## Kontakt\nDr.-Ing. Thorsten Ludewig (t.ludewig@gmail.com)\n\n## Einführung\n\n[Keycloak](https://keycloak.org) ist eine Open-Source-Software zur Verwaltung der Authentifizierung und Autorisierung für Webanwendungen und RESTful Webdienste. Es ist ein Single-Sign-On (SSO)-System, das es Benutzern ermöglicht, sich einmal zu authentifizieren und dann auf mehrere Anwendungen zuzugreifen, ohne sich erneut anmelden zu müssen.\n\n[Keycloak](https://keycloak.org) bietet eine zentrale Anlaufstelle für die Verwaltung von Benutzerkonten, Berechtigungen und Rollen. Es unterstützt eine Vielzahl von Authentifizierungstechnologien, darunter OpenID Connect, OAuth 2.0, SAML 2.0 und Kerberos. Außerdem bietet es Funktionen wie Multi-Faktor-Authentifizierung, Social Login, Benutzerverwaltung, Gruppenmanagement und Single-Sign-Out.\n\n[Keycloak](https://keycloak.org) kann als eigenständiger Server bereitgestellt werden oder in eine vorhandene Anwendung integriert werden. Es ist in Java geschrieben und läuft auf verschiedenen Betriebssystemen, einschließlich Windows, Linux und macOS. [Keycloak](https://keycloak.org) bietet auch eine REST-API zur Integration mit anderen Anwendungen und Diensten.\n\n[Keycloak](https://keycloak.org) wird von Red Hat entwickelt und unterstützt. Es ist eine beliebte Authentifizierungslösung für Unternehmen, die eine zentrale Plattform für die Verwaltung von Benutzern und Anwendungen benötigen. (ChatGPT)\n\n## Installation\n\nAlle in dieser Umgebung verwendeten Beispiele beötigen *Docker* als Laufzeitumgebung.\n\n- [Docker Desktop](https://www.docker.com/products/docker-desktop/)\n\nDas gesamte System ist nur für den `localhost` konfiguriert, Docker und dein Lieblings-Browser müssen auf dem gleichen Rechner laufen. (z.B. deinem Notebook oder Arbeitsplatz-PC)\n\nBitte füge folgende Zeilen in deine `/etc/hosts` Datei ein.\n(Unter Microsoft Windows `C:\\Windows\\System32\\drivers\\etc\\hosts`)\n\n```text\n127.0.0.1       id.dev.sonia.de\n\n127.0.0.1       app1.dev.sonia.de\n127.0.0.1       app2.dev.sonia.de\n127.0.0.1       app3.dev.sonia.de\n127.0.0.1       app4.dev.sonia.de\n127.0.0.1       app5.dev.sonia.de\n127.0.0.1       app6.dev.sonia.de\n127.0.0.1       app7.dev.sonia.de\n127.0.0.1       app8.dev.sonia.de\n127.0.0.1       app9.dev.sonia.de\n127.0.0.1       app10.dev.sonia.de\n127.0.0.1       app11.dev.sonia.de\n127.0.0.1       app12.dev.sonia.de\n\n127.0.0.1       rscs1.dev.sonia.de\n\n127.0.0.1       typo3.dev.sonia.de\n127.0.0.1       portainer.dev.sonia.de\n```\n\n## Starte Keycloak Umgebung\n\n1. `cd keycloak`\n2. `./bin/STARTUP.sh` (Windows: `.\\bin\\STARTUP.ps1`)\n\n## Starte Beispiel Applikation\n\n1. `cd samples/app...`\n2. `docker compose up`\n\n## Credentials\n\nBeschreibung | Username | Password \n-------------|----------|---------\nKeycloak Admin | admin | admin123\nKeycloak Test Admin | c1admin | admin123 \nKeycloak Test User 1 | c1test1 | test123 \nKeycloak Test User 2 | c1test2 | test123 \nKeycloak Test User 3 | c1test3 | test123 \nKeycloak Test User 4 | c1test4 | test123 \nKeycloak Test User 5 | c1test5 | test123 \nLDAP Directory Manager | cn=Directory Manager | 10peb8uW43kWQL519ibpsJoPpcrzPLY4tMAGBEf5e4.f8IipWmVE0A.3Gcpe0g2sw\nPortainer - Local Admin | localadmin | localadmin123 \nPortainer - OIDC Admin | c1admin | admin123 \nTypo3 - Admin | typo3admin | Typo3Admin123! \n\n## URLs\n\nID | Beschreibung | Auth | URL\n----|-------|--|----\n--- | KEYCLOAK FOLDER | --- | ---\nid | Keycloak Identity Provider (IDP) | OAuth2, OIDC, SAML2 | https://id.dev.sonia.de/admin/\n--- | SAMPLES FOLDER | --- | ---\napp1 | Springboot 2 + Keycloak Lib | OIDC | http://app1.dev.sonia.de:8081\napp2 | Springboot 3 + OAuth2 Lib | OIDC | http://app2.dev.sonia.de:8082\napp3 | PHP 8 + Apache 2 | OIDC | http://app3.dev.sonia.de:8083\napp4 | Apache 2 + mod_auth_openidc | OIDC | http://app4.dev.sonia.de:8084\napp5 | NGINX / OpenResty | OIDC | http://app5.dev.sonia.de:8085\napp6 | Springboot 3 + SpringSecurity SAML2 (OpenSAML) | SAML2 | http://app6.dev.sonia.de:8086\napp7 | Python 3.9 + Django + mozilla-django-oidc  | OIDC | http://app7.dev.sonia.de:8087\napp8 | Springboot 3 + OAuth2 Lib / Springboot 3 Resource Server | OIDC | http://app8.dev.sonia.de:8088\napp9 | Jakarta EE 10 + Payara ME 6.2023.4 | OIDC | http://app9.dev.sonia.de:8089\napp10 | Springboot 3.1 + OAuth2 Lib | OIDC | http://app10.dev.sonia.de:8090\napp11 | JavaScript + OIDC Client | OIDC | http://app11.dev.sonia.de:8091\napp12 | Dart, Flutter AppAuth | OIDC | Mobile App (Android,iOS,...)\napp13 | Go Lang | OIDC | http://app13.dev.sonia.de:8093\n--- | APPLIANCE FOLDER | --- | ---\nportainer | Portainer CE | OIDC | http://portainer.dev.sonia.de:9000\ntypo3 | Typo3 | OIDC | http://typo3.dev.sonia.de:9080/typo3/\n\n\n## Referenzen\n\n### Keycloak\n- [https://keycloak.org](https://keycloak.org)\n\n### Java\n\n- [https://bell-sw.com/pages/downloads/](https://bell-sw.com/pages/downloads/)\n\n### Spring Boot\n- [https://spring.io/projects/spring-boot](https://spring.io/projects/spring-boot)\n- [https://start.spring.io/](https://start.spring.io/)\n- [Servlet - https://docs.spring.io/spring-security/reference/servlet/oauth2/index.html](https://docs.spring.io/spring-security/reference/servlet/oauth2/index.html)\n- [WebFlux - https://docs.spring.io/spring-security/reference/reactive/oauth2/index.html](https://docs.spring.io/spring-security/reference/reactive/oauth2/index.html)\n\n### Apache HTTPd\n- [https://httpd.apache.org/](https://httpd.apache.org/)\n- [https://github.com/OpenIDC/mod_auth_openidc](https://github.com/OpenIDC/mod_auth_openidc)\n\n### NGINX\n- [https://www.nginx.com/](https://www.nginx.com/)\n- [https://openresty.org/en/](https://openresty.org/en/)\n- [https://github.com/zmartzone/lua-resty-openidc](https://github.com/zmartzone/lua-resty-openidc)\n\n### PHP\n- [https://www.php.net/](https://www.php.net/)\n- [https://github.com/jumbojett/OpenID-Connect-PHP](https://github.com/jumbojett/OpenID-Connect-PHP)\n\n### Python\n- [https://www.python.org/](https://www.python.org/)\n- [https://github.com/mozilla/mozilla-django-oidc](https://github.com/mozilla/mozilla-django-oidc)\n\n### Java EE\n- [https://www.payara.fish/](https://www.payara.fish/)\n\n### JavaScript / TypeScript\n- [https://www.npmjs.com/package/oidc-client](https://www.npmjs.com/package/oidc-client)\n- [https://github.com/authts/oidc-client-ts](https://github.com/authts/oidc-client-ts)\n\n### Dart / Flutter\n- [https://dart.dev/](https://dart.dev/)\n- [https://flutter.dev/](https://flutter.dev/)\n- [https://pub.dev/packages/flutter_appauth](https://pub.dev/packages/flutter_appauth)\n- [Free Flutter Authentication \u0026 Authorization Course, YouTube](https://www.youtube.com/playlist?list=PLCOnzDflrUceRLfHEkl-u2ipjsre6ZwjV)\n\n## Tools\n- [Apache NetBeans](https://netbeans.apache.org)\n- [Apache Directory Studio](https://directory.apache.org/studio/)\n- [DbVisualizer](https://www.dbvis.com/)\n- [DBeaver Community](https://dbeaver.io/)\n- [Visual Studio Code](https://code.visualstudio.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthorsten-l%2Fkeycloak-sample-environment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthorsten-l%2Fkeycloak-sample-environment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthorsten-l%2Fkeycloak-sample-environment/lists"}