Communicate between Quarkus webapps using OIDC authentication #41195
-
Hello! I have two Quarkus applications (app-a and app-b). Both are authenticated using our company's OIDC provider and both are within the same kubernetes cluster.. When a user clicks a link in app-a, I redirect them to app-b in a new tab. However, if the user is not already authenticated in app-b, they are redirected to the root page of app-b. When this happens, the URL in the new tab removes the endpoint from the URL and only keeps the query parameters. For example, if I redirect in a new tab to URL How can I properly authenticate the user using our OIDC so when the user clicks the link in app-a, they are redirected to app-b without having to authenticate in app-b again? I'm certain I left out useful information, so please ask questions for clarification. My
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
@TheMightyE Hi, Quarkus OIDC itself should not be dropping Try to redirect without query parameters, as in I suspect at some point Quarkus only sees |
Beta Was this translation helpful? Give feedback.
The issue was that my change
quarkus.oidc.authentication.restore-path-after-redirect=true
didn't successfully deploy which was missed by us. I appreciate your prompt responses and willingness to help, even going as far as offering to add additional logs. I will be sure to return to this forum for future problems. Thanks @sberyozkin.