OfficeDev / msteams-meetings-template

Template for an app that creates Microsoft Teams meetings
MIT License
61 stars 49 forks source link

Authentication tenant needs to be configured #19

Open tomgross opened 4 years ago

tomgross commented 4 years ago

I run yarn startand go to http://localhost:3000/. I click the Login button. I am asked for my username and password and the 2 factor (authenticatior app). After this it returns to the login page an nothing happens. If I click the second time only the 2nd factor is asked but still nothing happens. Interestingliy the checkbox Remember for 14 days is unchecked again.

My system:

tomgross commented 4 years ago

I found it. The authority tenant needs to be configured same as the client id in msalApp.ts. this should be documented.

See https://stackoverflow.com/questions/53526121/use-a-tenant-specific-endpoint-or-configure-the-application-to-be-multi-tenant

The tenant id can be found here: https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/Properties

tomgross commented 4 years ago

... a verbose error message in the gui would be nice too. Now it is hidden in the JS console.