Skip to content

Commit

Permalink
Merge pull request IQSS#9234 from GPortas/9228-docker-keycloak
Browse files Browse the repository at this point in the history
9228 - add OIDC development setup for OIDC login feature testing
  • Loading branch information
kcondon authored Jan 9, 2023
2 parents ac1454b + bb625ea commit 03afc7f
Show file tree
Hide file tree
Showing 6 changed files with 2,196 additions and 3 deletions.
15 changes: 15 additions & 0 deletions conf/keycloak/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: "3.9"

services:

keycloak:
image: 'jboss/keycloak:16.1.1'
environment:
- KEYCLOAK_USER=kcadmin
- KEYCLOAK_PASSWORD=kcpassword
- KEYCLOAK_IMPORT=/tmp/oidc-realm.json
- KEYCLOAK_LOGLEVEL=DEBUG
ports:
- "8090:8080"
volumes:
- './oidc-realm.json:/tmp/oidc-realm.json'
8 changes: 8 additions & 0 deletions conf/keycloak/oidc-keycloak-auth-provider.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"id": "oidc-keycloak",
"factoryAlias": "oidc",
"title": "OIDC-Keycloak",
"subtitle": "OIDC-Keycloak",
"factoryData": "type: oidc | issuer: http://localhost:8090/auth/realms/oidc-realm | clientId: oidc-client | clientSecret: ss6gE8mODCDfqesQaSG3gwUwZqZt547E",
"enabled": true
}
Loading

0 comments on commit 03afc7f

Please sign in to comment.