You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exact same issue as #7405 (comment), there is a regression somewhere.
How to replicate the issue + URL
Description
Validation of personal token in options page doesn't work for GitHub Enterprise, even if a valid token is inputed and it still shows as "Bad credentials":
The cause seems to be the validation still (mistakenly) being done via api.github.com on GHE:
However features that require a token do not work.
Extension version
26.8.8
Browser(s) used
.
Token ⚠️
I set a token in the options page. I understand that some features require a token to work.
Regardless of the failure in the options, the token still gets saved, right?
If the token is actually saved and it's correct, can you check why the features are failing? Check what domain is being hit in the dev tools on your GHE instance.
I already found the issue in the options page, but that PR does not affect the actual token storage and usage.
ElementNotFoundError: Expected element not found: a#prs-files-anchor-tab
at $ (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/npm/select-dom.js:21:11)
at isOldPrFiles (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/features/quick-review.js:27:28)
at addButtons (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/features/quick-review.js:69:10)
Activity
fregante commentedon Aug 10, 2026
To clarify: the PAT works but the options page validation doesn't?
the-corp-mark commentedon Aug 10, 2026
Yes correct. Sorry I was unclear.
the-corp-mark commentedon Aug 10, 2026
Its making the request against github.com instead of the custom domain so auth fails.
However, the features that require the token DO NOT work, so i guess its not exactly the same side effect, but root cause is the same....
the-corp-mark commentedon Aug 10, 2026
However, the features that require the token DO NOT work, so i guess its not exactly the same side effect, but root cause is the same....
[-]Regression: PAT not working for custom domain[/-][+]Broken GHE PAT validation UI[/+][-]Broken GHE PAT validation UI[/-][+]Broken GHE PAT [/+]fregante commentedon Aug 11, 2026
Regardless of the failure in the options, the token still gets saved, right?
If the token is actually saved and it's correct, can you check why the features are failing? Check what domain is being hit in the dev tools on your GHE instance.
I already found the issue in the options page, but that PR does not affect the actual token storage and usage.
the-corp-mark commentedon Aug 11, 2026
For example, on the main PR page, I cannot approve PRs anymore.
the-corp-mark commentedon Aug 11, 2026
Only works on github.com
fregante commentedon Aug 11, 2026
the-corp-mark commentedon Aug 11, 2026
fregante commentedon Aug 11, 2026
That's an unrelated error:
quick-review: Expected element not found: a#prs-files-anchor-tab #9937I want to see what domain is being hit in the Network tab, if it's still hitting api.github.com
the-corp-mark commentedon Aug 11, 2026
I didnt see any requests going to github.com or any 403s
fregante commentedon Aug 11, 2026
Unfortunately I don't use GHE so fixes rely on its users to debug and send PR
the-corp-mark commentedon Aug 11, 2026
Does this repo have a Contributor license agreement?
Also I guess what you said is in relation to #9937 since I see a PR for this issue.
qasic commentedon Aug 29, 2026
@fregante I was wondering why the released version had GHE PAT issues, but one built from source did not.
I can confirm your fix in #9967 works. Thank you!