Skip to content

Commit d039a0d

Browse files
authored
fix: update default url to production (#178)
1 parent 08ab4bf commit d039a0d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

build_docs/debugging.adoc

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ RHOAS_LOG_LEVEL=INFO
77
=== Changing API path to local mock
88

99
CLOUD_SERVICES_API=localhost:8080
10+
CLOUD_SERVICES_SSO=https://sso.redhat.com/auth/realms/redhat-external
1011

1112
=== Listen to only single namespace
1213

source/rhoas/src/main/java/com/openshift/cloud/beans/AccessTokenSecretTool.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ public class AccessTokenSecretTool {
2828

2929
private static final String ACCESS_TOKEN_SECRET_KEY = "value";
3030

31-
@ConfigProperty(
32-
name = "auth.serverUrl",
33-
defaultValue = "https://sso.redhat.com/auth/realms/redhat-external")
31+
@ConfigProperty(name = "auth.serverUrl")
3432
String authServerUrl;
3533

3634
@ConfigProperty(name = "auth.clientId", defaultValue = "cloud-services")

source/rhoas/src/main/resources/application.properties

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ quarkus.container-image.registry=quay.io
1212

1313
quarkus.log.level=${RHOAS_LOG_LEVEL:INFO}
1414

15-
rhoas.client.apiBasePath=${CLOUD_SERVICES_API:https://api.stage.openshift.com}
15+
rhoas.client.apiBasePath=${CLOUD_SERVICES_API:https://api.openshift.com}
16+
auth.serverUrl=${CLOUD_SERVICES_SSO:https://sso.redhat.com/auth/realms/redhat-external}

0 commit comments

Comments
 (0)