WordPress + Varnish + External Login Service
This plugin makes the following assumptions about the login service:
- The login service uses JWT
- The signature in the user cookie provided by the login service contains an array of products that the user owns.
- The user cookie provided by the login service contains a user ID, this id is also present in the cookie signature.
- The login service has a javascript API.