diff --git a/src/OAuth2User.ts b/src/OAuth2User.ts index be52dc4..f1f7e58 100644 --- a/src/OAuth2User.ts +++ b/src/OAuth2User.ts @@ -168,6 +168,7 @@ export class OAuth2User implements OAuthClient { }); const token = processTokenResponse(data); this.token = token; + this._tokenEvents.emit("tokenRefreshed", this.token); return { token }; }