Skip to content

Commit 15bff0c

Browse files
author
Denis Beklarov
committed
Issue #343 onTokenReceived callback is not called if no iodc after tryLogin()
1 parent b4c8731 commit 15bff0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

projects/lib/src/oauth-service.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1335,6 +1335,7 @@ export class OAuthService extends AuthConfig {
13351335
if (this.clearHashAfterLogin && !options.preventClearHashAfterLogin) {
13361336
location.hash = '';
13371337
}
1338+
this.callOnTokenReceivedIfExists(options);
13381339
return Promise.resolve();
13391340
}
13401341

0 commit comments

Comments
 (0)