dnn.azureadb2cprovider icon indicating copy to clipboard operation
dnn.azureadb2cprovider copied to clipboard

Personabar not loading if the site is not on the root of the webserver

Open allschu opened this issue 2 years ago • 3 comments

After I have successfully installed the plugin and go I to settings and select Azure AD B2C I only get a blank screen. Nothing to see.... see picture. What is wrong? Tried serveral version of the plugin and serveral version of DNN.

image

allschu avatar Apr 17 '22 13:04 allschu

Looks like a client side JavaScript error not allowing to load the page. Which version of DNN are you running? Can you open the Dev tools on the browser and see if there is an error?

davidjrh avatar Apr 17 '22 18:04 davidjrh

@davidjrh hi, you are right, the problem reside in the front-end code. The code is calling a bundle-es.js script which results in a 404. It looks like its not looking at the relative path, but it assumes its always installed on the root of the webserver. I placed the website in the root directory and it works. Thank your for the tip

allschu avatar Apr 18 '22 07:04 allschu

Ah, interesting, I haven't tried the module on a DNN site not installed on the root. I'll try to fix this in the next release.

davidjrh avatar Apr 19 '22 11:04 davidjrh