OfficeDev / microsoft-teams-sample-meetings-token

Microsoft Teams meeting extensibility sample: token passing
MIT License
13 stars 10 forks source link

GET /meeting/summary responding with 401 Unauthorized #2

Closed timbuncee closed 4 years ago

timbuncee commented 4 years ago

I'm in process of setting up Token App for meetings and ran into some issues regarding getting access token for routes.

The bot SSO was set up following the auth method here.

After fully setting up the bot and updating the appsetting.json and manifest.json accordingly, the tab was responding with 401 on /meeting/summary request therefore not giving me the expected flow to test the app.

Actual Tab view image

Inspector network response image

dotnet error log image

Any point of direction or help to resolve this will greatly appreciate and will be happy to provide any more information that can help debug this issue.

koushik-shetty commented 4 years ago

Hi @timbuncee,

Thank you for trying out the sample.

We have noted the issue, and will be releasing a fix very soon.

In the meantime, to solve this issue please set the ApplicationIdUri in the appsettings.json to the same value as MicrosoftAppId. This is because the audience is set to the MicrosoftAppId(client id) in the token claims.

timbuncee commented 4 years ago

Thank you! I got it working. Looking forward to more updates. image