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.
require_app_auth
1 parent f6ccffa commit fd80590Copy full SHA for fd80590
githubkit/auth/_url.py
@@ -26,7 +26,7 @@
26
}
27
28
BYPASS_REGEX = re.compile(r"/login/(oauth/access_token|device/code)$")
29
-APP_AUTH_REGEX = re.compile(rf"(?:{'|'.join(APP_ROUTES)})[^/]*$", re.I)
+APP_AUTH_REGEX = re.compile(rf"^(?:{'|'.join(APP_ROUTES)})$", re.I)
30
BASIC_AUTH_REGEX = re.compile(r"/applications/[^/]+/(token|grant)s?")
31
OAUTH_BASE_REGEX = re.compile(r"^https://(api\.)?github\.com/?$")
32
0 commit comments