3 ms·
> These guides always ignore authentication Can't you just use whatever transport-level auth you prefer? I'd assume most GQL queries are over HTTPS so you coul
by masklinn 9y ago
> These guides always ignore authentication
Can't you just use whatever transport-level auth you prefer? I'd assume most GQL queries are over HTTPS so you could use cookies, HTTP Basic, HTTP Digest, a custom HTTP Auth scheme, SSL certs, API keys (through Basic or headers), … the world's your oyster.
Depending on your requirements or constraints, the authorisation would be handled either once at the top-level or on a resolver-by-resolver basis.