Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExtensionTabService: getAuthTokenForApp: Failed with error - App resource defined in manifest and iframe origin do not match #83

Open
Lesiio opened this issue Aug 17, 2022 · 1 comment

Comments

@Lesiio
Copy link

Lesiio commented Aug 17, 2022

I developed Microsoft Teams Tab app, which I'm adding to the chat and teams channels.
From the Graph API tab app needs to chceck who is a member of a chat/teams channel, and also read who is a manger among members.
For development (Visual Studio, Blazor) I registered the app in my temporary tenant, I was able to test application in Microsoft Teams as an admin and a a user. It was working properly (everything was on localhost).

Right now I want to test it on the company domain. I tunneled app using ngrok, administrator registered an app in Azure.
I changed manifest to be compatible with information I got from the administrator.
My "webApplicationInfo" (id and resource) are the same as Application (client) ID and Application ID URI from Azure.

When I'm opening a tab in Teams (it doesn't matter if it's web or desktop app) I'm getting error:
ExtensionTabService: getAuthTokenForApp: Failed with error - App resource defined in manifest and iframe origin do not match.

What can I change to make it work?

@match-mp4
Copy link

Having the same Problem. Any help is appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants