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:
- Is there a way to pass a customer request header through the auth flow?
- Is there a better way to achieve our goal?
Our deployment is in AWS.