Not understanding popper invocation for user profile. #306
Replies: 1 comment 1 reply
-
Hi John... are you using one of the releases? Starting with v18, there are no dependencies on jQuery. I've never seen that error, so if you're using the code right off of You can have multiple identities, this is true, and the So here's the rub... I'm not confident that I've found every instance of where the user is being fetched right out of In the mean time, yes, you can see that the login uses cookie auth with the forum scheme, then the middleware authenticates on the same scheme. I wouldn't mind hearing more about your use of Azure AD and the OAuth built into the forum! I haven't tried it, but I'm considering some kind of enterprisey option to make that more streamlined, and maybe even update the forum copy of the identity (name, email) as necessary. |
Beta Was this translation helpful? Give feedback.
-
Great project - exactly what I need. I have integrated PopForums via Nuget to my project. I am using Azure AD B2C for authentication using a custom identify framework. Oauth is used to authenticate to PopForums. I have used the same _layout for the "main site" and the PopForums "site". Mostly things are working within the _layout (which includes a script reference to popper.js) but invoking the user profile dropdown in PopForums I get "cannot use import from outside a module". The _layout does include jquery for the "main site". I cannot see where popper is included in your git repo.
As a secondary, not important, question I am wondering if all my wiring up to switch between authentication schemes from my "main site" to "PopForums site" could be simplified. I basically signout / signin when switching between the sites and there are numerous places on the pages where that can happen but I think I have caught most of them. It seem you can have multiple identities in my situation and wonder if there is a way to use that functionality that I am not aware of. You clearly are very skilled at this stuff. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions