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

hawtio-quarkus doesn't work with OpenID Connect #3310

Open
grgrzybek opened this issue Mar 13, 2024 · 0 comments
Open

hawtio-quarkus doesn't work with OpenID Connect #3310

grgrzybek opened this issue Mar 13, 2024 · 0 comments

Comments

@grgrzybek
Copy link
Contributor

@jsolovjo found that adding hawtio-oidc.properties to tests/quarkus/src/main/resources doesn't work.

I checked and while this is fine:

$ curl -i http://localhost:8080/hawtio/auth/config
HTTP/1.1 200 OK
Cache-Control: max-age=0, no-cache, must-revalidate, proxy-revalidate, private
Pragma: no-cache
X-Frame-Options: DENY
X-XSS-Protection: 1
X-Content-Type-Options: nosniff
Content-Security-Policy: default-src 'self'; script-src 'self' http://localhost:18080; style-src 'self'; font-src 'self' data:; img-src 'self' data:; connect-src 'self' http://localhost:18080; frame-src 'self' http://localhost:18080; manifest-src 'self'; media-src 'self'; object-src 'self'; worker-src 'self'; frame-ancestors 'none'
Referrer-Policy: strict-origin
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked

{"method":"oidc","provider":"http://localhost:18080/realms/hawtio-demo","openid-configuration":{"introspection_endpoint_auth_signing_alg_values_supported":["PS384","RS384","EdDSA","ES384","HS256","HS512","ES256","RS256","HS384","ES512","PS
...

io.hawt.quarkus.auth.HawtioQuarkusAuthenticator#authenticate() is not using JAAS at all and there's simply io.quarkus.security.credential.PasswordCredential instance created for incoming Bearer token...

This is something to investigate a bit (not that much) later...

cc: @tadayosi

@tadayosi tadayosi added this to the 4.0.0 GA milestone Mar 18, 2024
@tadayosi tadayosi modified the milestones: 4.0.0 GA, 2024Q2 Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

2 participants