stack is a nextjs app, which may be contributing as its not a SPA app. All the MSAL stuff is used in client side code, but I found that with each page I was having to roll miles of code to get started so I put that in a custom context provider with some apis exposed for getting tokens, profile, etc.
November 27, 2024 at 5:41 AM
stack is a nextjs app, which may be contributing as its not a SPA app. All the MSAL stuff is used in client side code, but I found that with each page I was having to roll miles of code to get started so I put that in a custom context provider with some apis exposed for getting tokens, profile, etc.
For me, it was specifically about context within the app. I had to make higher order components to pass the session around because the out of the box providers seemed to break or just have weird issues. It’s also really annoying to not be able to let users log in with multiple accounts.
November 26, 2024 at 3:55 PM
For me, it was specifically about context within the app. I had to make higher order components to pass the session around because the out of the box providers seemed to break or just have weird issues. It’s also really annoying to not be able to let users log in with multiple accounts.