Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[NOTASK]
sample oidc configuration
jj committed Aug 24, 2022
1 parent d2bd921 commit f0fc3ae
Showing 3 changed files with 41 additions and 0 deletions.
30 changes: 30 additions & 0 deletions src/test/docker/docker-compose.yml
@@ -0,0 +1,30 @@
services:
database:
image: postgres
ports:
- 5432:5432
environment:
POSTGRES_USER: grouper
POSTGRES_PASSWORD: grouper
POSTGRES_DB: grouper
grouper-ui:
image: i2incommon/grouper:2.6.15.1
command:
- ui
ports:
- 8080:8080
- 15005:15005
volumes:
- ../../../target/grouper-authentication-plugin-0.0.1-SNAPSHOT.jar:/opt/grouper/plugins/grouper-authentication-plugin.jar
environment:
GROUPER_DATABASE_URL: "jdbc:postgresql://database/grouper"
GROUPER_DATABASE_USERNAME: "grouper"
GROUPER_DATABASE_PASSWORD: "grouper"
GROUPER_MORPHSTRING_ENCRYPT_KEY: "THISISSUPERSECRET!"
GROUPER_AUTO_DDL_UPTOVERSION: "2.6.*"
GROUPER_RUN_TOMCAT_NOT_SUPERVISOR: "true"
GROUPER_UI_CONFIGURATION_EDITOR_SOURCEIPADDRESSES: "0.0.0.0/0"
# GROUPER_UI_GROUPER_AUTH: "true"
# GROUPERSYSTEM_QUICKSTART_PASS: "letmein7"
RUN_SHIB_SP: "false"
# GROUPER_EXTRA_CATALINA_OPTS: "-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=15005"
7 changes: 7 additions & 0 deletions src/test/docker/grouper/config/grouper-ui.properties
@@ -0,0 +1,7 @@
grouper.is.extAuth.enabled = true
external.authentication.grouperContextUrl = http://localhost:8080/grouper/
external.authentication.oidc.clientId = *****
external.authentication.oidc.discoveryURI = https://unicon.okta.com/.well-known/openid-configuration
external.authentication.oidc.secret = *****
external.authentication.provider = oidc
external.authentication.oidc.claimAsUsername = preferred_username
4 changes: 4 additions & 0 deletions src/test/docker/grouper/config/grouper.properties
@@ -0,0 +1,4 @@
grouper.osgi.enable = true
grouper.osgi.jar.dir = /opt/grouper/plugins

grouperOsgiPlugin.0.jarName = grouper-authentication-plugin.jar

0 comments on commit f0fc3ae

Please sign in to comment.