Issue description
In order to forward a idp callback request to the correct member in the cluster, we have to use the (client.Client).Query method from microcluster. This method does not currently support passing in a http.Request object, which means to forward the necessary cookies from the idp request we need to setup a POST /oidc/callback endpoint and add the cookies to the forwarded request payload.
Furthermore, the (client.Client).Query also does not return a full response. This imposes the same restrictions where we have to send cookies in the response payload instead of extract them from the response header.
There is an upstream microcluster issue open for this.
Issue description
In order to forward a idp callback request to the correct member in the cluster, we have to use the
(client.Client).Querymethod from microcluster. This method does not currently support passing in ahttp.Requestobject, which means to forward the necessary cookies from the idp request we need to setup aPOST /oidc/callbackendpoint and add the cookies to the forwarded request payload.Furthermore, the
(client.Client).Queryalso does not return a full response. This imposes the same restrictions where we have to send cookies in the response payload instead of extract them from the response header.There is an upstream microcluster issue open for this.