Skip to content

Commit 3b8a097

Browse files
Merge some changes from tanzu
1 parent d3fc0fb commit 3b8a097

9 files changed

+15
-11
lines changed
+1-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
export KEYCLOAK_URL=https://keycloak:8443/realms/test
2-
export OAUTH_PROVIDER_URL=https://keycloak:8443/realms/test
3-
export OAUTH_PROVIDER_CA_CERT=/config/oauth/keycloak/ca_keycloak_certificate.pem
2+
export KEYCLOAK_CA_CERT=/config/oauth/keycloak/ca_keycloak_certificate.pem
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
# export OAUTH_PROVIDER_URL=${KEYCLOAK_URL}
1+
export OAUTH_PROVIDER_URL=${KEYCLOAK_URL}
2+
export OAUTH_PROVIDER_CA_CERT=${KEYCLOAK_CA_CERT}
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export KEYCLOAK_URL=https://localhost:8443/realms/test
2-
export OAUTH_PROVIDER_URL=https://localhost:8443/realms/test
3-
export OAUTH_PROVIDER_CA_CERT=selenium/test/oauth/keycloak/ca_keycloak_certificate.pem
2+
export OAUTH_PROVIDER_URL=${KEYCLOAK_URL}
3+
export KEYCLOAK_CA_CERT=selenium/test/oauth/keycloak/ca_keycloak_certificate.pem

selenium/test/oauth/imports/users.json

+3
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@
5656
"vhosts": [
5757
{
5858
"name": "/"
59+
},
60+
{
61+
"name": "other"
5962
}
6063
],
6164
"permissions": [
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# uaa requires a secret in order to renew tokens
2-
management.oauth_provider_url = ${KEYCLOAK_URL}
2+
#management.oauth_provider_url = ${KEYCLOAK_URL}
33
management.oauth_authorization_endpoint_params.resource = rabbitmq
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
auth_oauth2.issuer = ${OAUTH_PROVIDER_URL}
2-
auth_oauth2.https.cacertfile = ${OAUTH_PROVIDER_CA_CERT}
1+
auth_oauth2.issuer = ${KEYCLOAK_URL}
2+
auth_oauth2.https.cacertfile = ${KEYCLOAK_CA_CERT}
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
auth_oauth2.issuer = ${OAUTH_PROVIDER_URL}
1+
auth_oauth2.issuer = ${KEYCLOAK_URL}
22
auth_oauth2.https.peer_verification = verify_none
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
# uaa requires a secret in order to renew tokens
2+
management.oauth_client_secret = ${OAUTH_CLIENT_SECRET}
3+
14
# uaa requires a secret in order to renew tokens
25
management.oauth_provider_url = ${UAA_URL}

selenium/test/oauth/rabbitmq.uaa-oauth-provider.conf

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# uaa requires a secret in order to renew tokens
2-
management.oauth_client_secret = ${OAUTH_CLIENT_SECRET}
31

42
# configure static signing keys and the oauth provider used by the plugin
53
auth_oauth2.default_key = ${OAUTH_SIGNING_KEY_ID}

0 commit comments

Comments
 (0)