Hello. I have a html page that loads msal js for the browser and it finds the username in Azure directory but does like a double sign in and is acting strange. Im looking for a minimalist approach here and the sample msdn provides for Auth code flow is maybe more than I need. So im trying to find something clean and lean that doesnt do a double hop like this does. Code posted below. This is all assuming my registrations are correct of course.
The html file is attached and the code begins on line 104.
index.html
gopack reg.PNG