JamesRandall / react-azure-adb2c

Looking for a maintainer - if interested please get in touch in issue #13
MIT License
45 stars 58 forks source link

authentication.run not firing when deployed to Azure #19

Closed mattruma closed 5 years ago

mattruma commented 5 years ago

I have deployed my app to Azure and for some reason the authentication.run is not firing. I can console.log the config settings, and everything looks OK. Just gives me a blank page.

Anyone else run into this issue?

justinlettau commented 5 years ago

@mattruma did you resolve the issue? I seem to have encounted the same issue. For me, the issue seems to go away when I sign out of my Azure Microsoft account or use a different browser entirely (that's not signed into a Microsoft account).

mattruma commented 5 years ago

Hi @justinlettau ... what I ended up doing was just copying the code into a separate file ... couldn't get it working from the node_modules folder.

Not ideal, but had a project that had to get done. 🙂

justinlettau commented 5 years ago

@mattruma Intresting. You copied the source code of this library into a file directly in your project? And it worked? I don't have this issue if I open my Azure hosted app in Incognito or a different browser ... not long term ideal.