Open ghost opened 6 years ago
@almostprogrammer The response from POST to /engine-auth-check
should not return something like this ?
{ "ttl": 600, "id": "bob" }
Where bob
is your unique value that you obtain after decrypt token from AUTHORIZATION header
I saw this in https://www.apollographql.com/docs/engine/proxy/guides.html#cache-hints
I cannot setup sessionAuth for private in-memory cache. Here's how the engine is set up
The endpoint
/engine-auth-check
is defined the following way:After I run queries a weird behaviour is observed. In traces queries have their scope as "Private" set up as well as TTL, but no cache hits is recorded. Additionally,
tokenAuthUrl
can be set to any string and no error will be returned.I've checked the
/engine-auth-check
endpoint with Postman and it worked fine, but when I run queries, post request seems to not be sent.