Azure-Samples/digital-twins-explorer

Issue with auth after computer restart

alecmanfre opened this issue · 3 comments

I've had quite a few issues with auth since starting to use the digital twins explorer. The first time I fired it up, it took multiple tries running az login firing up the app, killing the app, trying az login again, etc. At some point, it just started working, even though the response I got back from az login didn't change.

After that I didn't have problems, but after restarting my computer, I am having issues again, and I am not sure how to debug it. I am getting this pop-up as soon as the page loads:

Screen Shot 2021-04-06 at 4 41 52 PM

I have tried logging in with az login and logging out, and restarting the app.

hi @alecmanfre ,

Are you working off the master branch? We have made some updates to the auth package on the main branch that might assist with this.

NOTE: main will become the default branch tomorrow after we retire master.

I just tried going to main, but unfortunately, I am getting the same error. My domain is the same one I was using before and I am listed as an owner on that domain.

Screen Shot 2021-04-07 at 10 27 46 AM

I found the issue when trying to add a new user...Our initial subscription had expired on azure, but it wasn't obvious within the portal there was an issue. I have it working now.