You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the OAuthBearerLoginCallbackHandler (as specified as the
value for `sasl.login.callback.handler.class` in this example config,
and when using `sso.redhat.com` (or potentially other Keycloak and
maybe some other OAuth servers), which we do, then without specifying
a scope will currently lead to a response with an empty scope, which
is invalid and leads to failure.
The `sso.redhat.com` folks have suggested `openid` as the scope value,
and I've verified that it works.
This seems to be the only place where
`org.apache.kafka.common.security.oauthbearer.secured.OAuthBearerLoginCallbackHandler`
is used in this repo, I'm not sure if it's used in any other docs or
quickstarts?
Where
`io.strimzi.kafka.oauth.client.JaasClientOauthLoginCallbackHandler` is
used in some other cases here instead, then scope does not need to be
set.
Whether we should either change all cases to
`org.apache.kafka.common.security.oauthbearer.secured.OAuthBearerLoginCallbackHandler`,
or otherwise specify a scope in both cases, is not a question I have
an answer to.
0 commit comments