@Kurt Nordstrom Will this also mean that the contents of the token changes?
Heikki Levanto July 27, 2017 at 11:44 AM
Just like with the tenant-Id, mod-authtoken should check that if it sees a X-Okapi-User-Id header, then the value should match the one in the token. That way, malicious clients can try to set up a different one, and we will catch them. If it does not see a X-Okapi-User-Id header, it should just extract the value from the token, and return that in X-Okapi-User-Id.
We need this information for audit/logging purposes, e.g to register operatorId for the loan objects.