-
Notifications
You must be signed in to change notification settings - Fork 67
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
OAuth2 authentication init fails with ClassCastException #500
Comments
Hi @asoltesz , |
With AuthenticationOAuth2, I get a different exception:
It looks like this AuthenticationOAuth2 doesn't support initializing with the "param" section (map of parameters). |
Thanks @asoltesz - sorry you are running into this and we will take a look in the next 24-48 hrs. In the meantime, a workaround may be to
|
The Pulsar authentication is currently configured using a map of auth parameters. However, this avenue is deprecated in Pulsar and instead needs to use an encoded auth parameters string. This commit simply takes the auth params map and converts them to the expected encoded json string of auth parameters. Resolves spring-projects/spring-pulsar#500
PR in Boot - hopefully we can get it squeezed in for the |
Closed via spring-projects/spring-boot@3d42dc7 |
This commit fixes the name of the `pluginClassName` for the OAuth2 provider in authentication.adoc See spring-projects#500
This commit fixes the name of the `pluginClassName` for the OAuth2 provider in authentication.adoc See #500
I am using Spring Pulsar with Spring Boot 3.2.0-M3 with the Pulsar Client 3.1.0.
I am configuring the OAuth2 (with JWT) like this (as the docs says here):
I get the following error at application startup:
Looks like the code assumes that the factory can be cast to the Authentication class which doesn't look like the class design at all.
The text was updated successfully, but these errors were encountered: