Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Token can't validate proper #162

Open
namson0482 opened this issue Oct 4, 2022 · 1 comment
Open

Token can't validate proper #162

namson0482 opened this issue Oct 4, 2022 · 1 comment

Comments

@namson0482
Copy link

Hi @mstruk, @see-quick and team

I already got latest source code from branch main after you fixed #161. But I got other errors like above:
image

You can reproduce as per step below:

Step 1: go to folder examples/docker

Step 2: Execute command: docker-compose -f compose.yml -f kafka-oauth-strimzi/compose-ssl.yml -f keycloak/compose-ssl.yml -f keycloak-import/compose-ssl.yml up --build

Step 3: Now, you open kafka log then you will see error as image above

Thanks

@mstruk
Copy link
Contributor

mstruk commented Oct 4, 2022

How do you have your Kafka client configured?

What you see is explained in the troubleshooting chapter of the README.md.

It means that the token used by Kafka client was not issued by this instance of Keycloak or for the same realm.

This can happen if you restart the Keycloak instance without restarting your Kafka client afterwards.
It can also happen if your Kafka client is configured to use a different Keycloak instance or realm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants