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 5aae28b commit 581953bCopy full SHA for 581953b
libraries/nestjs-libraries/src/integrations/social.abstract.ts
@@ -30,7 +30,7 @@ export abstract class SocialAbstract {
30
json = '{}';
31
}
32
33
- if (request.status === 401) {
+ if (request.status === 401 || json.includes('OAuthException')) {
34
throw new RefreshToken(identifier, json, options.body!);
35
36
0 commit comments