Passing customer headers through an auth flow

I am using okta-spring-boot-starter 3.0.7 with spring-boot-starter-parent 3.4.2. The auth works fine.

However, we would like to do a blue/green deployment within our application to test release candidates prior to switching them to be the live deployment. In order to effect the test, we need either a query-param or a request header value to make it through the Okta OCID login. For instance, if the original request, prior to authentication, has a request header of zone=blue then we process the request on the blue zone servers. We would then save that zone choice in the session and ensure each subsequent request contains that header.

So, my questions are:

  1. Is there a way to pass a customer request header through the auth flow?
  2. Is there a better way to achieve our goal?

Our deployment is in AWS.

I just noticed that query params on the original request seem to be making it through the auth flow. I will try to process the query params within the AWS ALB and see how that goes.