diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2021-03-22 16:00:02 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2021-03-22 12:41:16 -0400 |
commit | a745c7c2e3de9acbbd84978c3d973e1c383d376c (patch) | |
tree | e28762873370683b534fb9005e31f9232f8f6873 | |
parent | fa993bf27e7ebd91bf81d34071ed8cefbb64abc9 (diff) | |
download | sr.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.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |