diff --git a/packages/authentication-client/src/core.ts b/packages/authentication-client/src/core.ts index 0ebe9fd6c6..c79e68779b 100644 --- a/packages/authentication-client/src/core.ts +++ b/packages/authentication-client/src/core.ts @@ -163,7 +163,7 @@ export class AuthenticationClient { } logout () { - return this.app.get('authentication') + return Promise.resolve(this.app.get('authentication')) .then(() => this.service.remove(null)) .then((authResult: AuthenticationResult) => this.removeAccessToken() .then(() => this.reset())