feat: improve oauth (#14061)

fix #13730
fix #12901
fix #14025
This commit is contained in:
DarkSky
2025-12-08 10:44:41 +08:00
committed by GitHub
parent 6e6b85098e
commit f29e47e9d2
14 changed files with 495 additions and 224 deletions
@@ -331,7 +331,6 @@ function mockOAuthProvider(
clientNonce,
});
// @ts-expect-error mock
Sinon.stub(provider, 'getToken').resolves({ accessToken: '1' });
Sinon.stub(provider, 'getUser').resolves({
id: '1',