We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f35789d commit 8cee8ecCopy full SHA for 8cee8ec
githubkit/auth/oauth.py
@@ -36,7 +36,7 @@ def create_device_code(
36
url = base_url.copy_with(raw_path=base_url.raw_path + b"login/device/code")
37
body = {"client_id": client_id}
38
if scopes:
39
- body["scopes"] = " ".join(scopes)
+ body["scope"] = " ".join(scopes)
40
response = yield httpx.Request(
41
"POST",
42
url,
0 commit comments