Replies: 1 comment 2 replies
-
The code inside the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The code inside the |
Beta Was this translation helpful? Give feedback.
-
Hi,
Inthe context of:
microsoft-authentication-library-for-js/samples/msal-angular-v2-samples/angular11-b2c-sample/src/app/home/home.component.ts
Lines 11 to 32 in 2203c4c
My understanding is that ngOnInit() will automatically subscribe to msalSubject$, however, nothing inside subscribe() L21 gets executed. I've also tried subscribing manually to both: msalSubject and inProgress as recommended by the docs.
getAllAccount() show 1 account, the current logged in account and if i do setActiveAccount() within setLoginDisplay() then getActiveAccount() works.
Am i missing something on the ngOnInit workings?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions