-
Notifications
You must be signed in to change notification settings - Fork 157
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
No longer able to map unauthenticated users to the FHIRUsers security-role #1020
Comments
Reproduced locally just by adding a config override like this:
and hitting a protected endpoint. This used to work for providing unauthenticated access to the endpoints, but doesn't seem to work with our latest configs. But I was NOT able to reproduce locally for the |
I created a tiny reproducing case and openened it as an issue for OpenLiberty at OpenLiberty/open-liberty#12050. |
Our workaround has been to add the Authorization header via our kubernetes ingress. That said, I really thought the Liberty team would have this addressed by now; we might need to do something here... |
This feature is going to be in the next release of OpenLIberty |
I confirmed that this is working now by adding a configDropin with the following content to a local deploy;
with liberty 22.0.0.3 this is finally behaving as expected; I am able to invoke protected endpoints like
|
We were using a configDropin to map special-subject EVERYONE to the FHIRUsers role (since authentication is being handled by a gateway).
Now, with the latest changes, this isn't working and it results in the health check failing with HTTP 401.
The text was updated successfully, but these errors were encountered: