strimzi / strimzi-kafka-oauth

OAuth2 support for Apache Kafka® to work with many OAuth2 authorization servers
Apache License 2.0
146 stars 90 forks source link

Fix Keycloak urls in example to work with recent versions of Keycloak #250

Closed mstruk closed 1 week ago

mstruk commented 1 week ago

The OAuth2 endpoints in Keycloak examples still use the urls as they were by default on legacy versions of Keycloak (e.g. 19.0.3-legacy). In the testsuite we moved some time ago to start using recent versions of Keycloak (e.g. 23.0.x) and we adjusted the OAuth2 endpoint urls there to use the default structure compatible with recent Keycloak releases.

Specifically, where before the url would look like: https://localhost:8443/auth/realms/demo it now looks like: https://localhost:8443/realms/demo

mstruk commented 1 week ago

I added a better (hopefully) description.

mstruk commented 1 week ago

Travis is failing for s390x only, and I've seen it fail this way for #249 as well, so I'm pretty sure it's not related to the changes in this PR. And actually, the DEBUG logging adds very minimal extra logs - only some additional info that comes handy when debugging authorization, so I think we can leave it as is.