[midPoint] oidc + infrastructure url problem

Markus Calmius markus.calmius at proton.ch
Wed May 15 15:46:10 CEST 2024


Hi,

I have a weird problem that I do not quite now how to solve/trouble-shoot.

If I do not set the <publicHttpUrlPattern> every thing works fine.
I can go to https://<hostname> or https://<hostname>/midpoint or https://<hostname>/midpoint/ and I will be re-directed to our Keycloak instance to login.
All good.
Now, if I do configure the <publicHttpUrlPattern> (which I need to be able to use links in email-notifications) I can only go to https://<hostname>/midpoint/
that is, if I remove the trailing / or omit the /midpoint/ it fails and I see this in the log:

> ERROR (org.apache.coyote.http11.Http11Processor): Error processing request
>
> java.lang.IllegalStateException: No current ServletRequestAttributes

It is the same error as if I would go to any other url that does not exist.

Any ideas what could cause this?

Thanks,
Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20240515/8c5de662/attachment.htm>


More information about the midPoint mailing list