We have multiple users accessing this webapp, and want to distinguish who is creating the orders. The order's "created by" info is tied to the OKAPI user, which is configured globally for the deployment and not helpful. There is an "assigned to" field in FOLIO orders which can work for this purpose.
To determine who is using the app, this PR assumes that the web server is using HTTP authentication and passing the username via a particular header.
We have multiple users accessing this webapp, and want to distinguish who is creating the orders. The order's "created by" info is tied to the OKAPI user, which is configured globally for the deployment and not helpful. There is an "assigned to" field in FOLIO orders which can work for this purpose.
To determine who is using the app, this PR assumes that the web server is using HTTP authentication and passing the username via a particular header.