Skip to content

Commit b230282

Browse files
authored
fix: update examples and default values for sso token (#539)
1 parent fe84ee8 commit b230282

File tree

6 files changed

+16
-4
lines changed

6 files changed

+16
-4
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
## Generated by rhoas generate-config
2+
KAFKA_HOST=test-insta-c-j-fqn-ogaldf-coieg.bf2.kafka.rhcloud.com:443
3+
SERVICE_REGISTRY_URL=https://bu98.serviceregistry.rhcloud.com/t/cc8a243a-feed-4a4c-9394-5a35ce83cca5
4+
RHOAS_CLIENT_ID=srvc-acct-37983b40-a9d5-4665-9a82-f40671dae972
5+
RHOAS_CLIENT_SECRET=c5142d93-54ac-4d1b-bc34-9ddb60650f57
6+
RHOAS_OAUTH_TOKEN_URL=https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token

code-examples/quarkus-service-registry-quickstart/consumer/src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ mp.messaging.incoming.quotes.value.deserializer=io.apicurio.registry.serde.avro.
44
mp.messaging.incoming.quotes.apicurio.registry.use-specific-avro-reader=true
55
mp.messaging.incoming.quotes.apicurio.registry.avro-datum-provider=io.apicurio.registry.serde.avro.ReflectAvroDatumProvider
66

7-
%dev.mp.messaging.incoming.quotes.apicurio.auth.service.token.endpoint=${RHOAS_OAUTH_TOKEN_URL:https://identity.api.openshift.com/auth/realms/rhoas/protocol/openid-connect/token}
7+
%dev.mp.messaging.incoming.quotes.apicurio.auth.service.token.endpoint=${RHOAS_OAUTH_TOKEN_URL:https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token}
88
%dev.mp.messaging.incoming.quotes.apicurio.auth.client.id=${RHOAS_CLIENT_ID}
99
%dev.mp.messaging.incoming.quotes.apicurio.auth.client.secret=${RHOAS_CLIENT_SECRET}
1010

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
## Generated by rhoas generate-config
2+
KAFKA_HOST=test-insta-c-j-fqn-ogaldf-coieg.bf2.kafka.rhcloud.com:443
3+
SERVICE_REGISTRY_URL=https://bu98.serviceregistry.rhcloud.com/t/cc8a243a-feed-4a4c-9394-5a35ce83cca5
4+
RHOAS_CLIENT_ID=srvc-acct-37983b40-a9d5-4665-9a82-f40671dae972
5+
RHOAS_CLIENT_SECRET=c5142d93-54ac-4d1b-bc34-9ddb60650f57
6+
RHOAS_OAUTH_TOKEN_URL=https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token

code-examples/quarkus-service-registry-quickstart/producer/src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ mp.messaging.outgoing.quotes.value.serializer=io.apicurio.registry.serde.avro.Av
1010
mp.messaging.outgoing.quotes.key.serializer=org.apache.kafka.common.serialization.StringSerializer
1111
mp.messaging.outgoing.quotes.merge=true
1212

13-
%dev.mp.messaging.outgoing.quotes.apicurio.auth.service.token.endpoint=${RHOAS_OAUTH_TOKEN_URL:https://identity.api.openshift.com/auth/realms/rhoas/protocol/openid-connect/token}
13+
%dev.mp.messaging.outgoing.quotes.apicurio.auth.service.token.endpoint=${RHOAS_OAUTH_TOKEN_URL:https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token}
1414
%dev.mp.messaging.outgoing.quotes.apicurio.auth.client.id=${RHOAS_CLIENT_ID}
1515
%dev.mp.messaging.outgoing.quotes.apicurio.auth.client.secret=${RHOAS_CLIENT_SECRET}
1616

docs/kafka/rhoas-cli-getting-started-kafka/README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ view the `credentials.json` file that you created.
195195
{
196196
"clientID":"srvc-acct-8c95ca5e1225-94a-41f1-ab97-aacf3df1",
197197
"clientSecret":"facf3df1-ab97-2253-aa87-ab97",
198-
"oauthTokenUrl": "https://identity.api.openshift.com/auth/realms/rhoas/protocol/openid-connect/token"
198+
"oauthTokenUrl": "https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token"
199199
}
200200
----
201201
You use these credentials and the bootstrap server URL to connect your applications and services to your Kafka instance.

docs/registry/rhoas-cli-getting-started-registry/README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ view the `credentials.json` file that you created.
199199
{
200200
"clientID":"srvc-acct-8c95ca5e1225-94a-41f1-ab97-aacf3df1",
201201
"clientSecret":"facf3df1-ab97-2253-aa87-ab97",
202-
"oauthTokenUrl": "https://identity.api.openshift.com/auth/realms/rhoas/protocol/openid-connect/token"
202+
"oauthTokenUrl": "https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token"
203203
}
204204
----
205205
You use these credentials and the {registry} URL to connect your applications and services to your {registry} instance.

0 commit comments

Comments
 (0)