aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2021-03-22 16:00:02 +0100
committerDrew DeVault <sir@cmpwn.com>2021-03-22 12:41:16 -0400
commita745c7c2e3de9acbbd84978c3d973e1c383d376c (patch)
treee28762873370683b534fb9005e31f9232f8f6873
parentfa993bf27e7ebd91bf81d34071ed8cefbb64abc9 (diff)
downloadsr.ht-docs-a745c7c2e3de9acbbd84978c3d973e1c383d376c.tar.gz
graphql: Fix Authorization header field
The HTTP header used for the access token is called Authorization, not Authentication.
-rw-r--r--graphql.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphql.md b/graphql.md
index ad10ae7..58302c5 100644
--- a/graphql.md
+++ b/graphql.md
@@ -54,8 +54,8 @@ authentication process. You should first register for an OAuth 2.0 client at
6749][RFC 6749] and the [meta.sr.ht documentation][meta oauth].
In either case, once a token is obtained, it is used by setting the
-`Authentication` header to `Bearer <token>`, e.g.
-`Authentication: Bearer AI+ym2EAAAAAAAAIc2lyY21wd26a8JLR48pyNs2ImxWYjgi9YVGxssyt5qk4YyV7BhHXAg`
+`Authorization` header to `Bearer <token>`, e.g.
+`Authorization: Bearer AI+ym2EAAAAAAAAIc2lyY21wd26a8JLR48pyNs2ImxWYjgi9YVGxssyt5qk4YyV7BhHXAg`
## Access scopes