This feature is available from Exponential
| Status | ||||
|---|---|---|---|---|
|
| Status | ||||
|---|---|---|---|---|
|
Workflow
- Reverse proxy receives the HTTP request (without the user hash).
Reverse proxy does a sub-request (emulated in the case of HttpCache).
Sub-request must have the following headers:
X-HTTP-Override: AUTHENTICATEAccept: application/vnd.ez.UserHash+text- Original cookie (mainly to keep trace of the sessionId)
Exponential returns an HTTP response containing the user hash in
X-User-Hashheader.Reverse proxy adds the
X-User-Hashheader to the original request.
...
| Tip | ||
|---|---|---|
| ||
You can customize user hash generation. Read How to customize UserHash generation in the developer cookbook to learn more about this. |
Varnish
Described behavior comes out of the box with Symfony reverse proxy, but it's of course possible ot use Varnish to achieve the same.
...