OAuth not working in Teams
xncbf opened this issue · comments
It's exactly the same problem this person is having.
https://techcommunity.microsoft.com/t5/teams-developer/oauth-not-working-in-teams/m-p/3356135
In the web chat test, it worked normally, but there is an issue where the button cannot be clicked in the Teams app.
The person above said it worked automatically within a day, but I still don't work after 3 days.
This is success in web chatting.
![image](https://user-images.githubusercontent.com/9462045/240783641-57cc835c-51f8-42c8-b9f3-28b116844989.png)
Not working in teams app.
![image](https://user-images.githubusercontent.com/9462045/240783800-b3b5e8c4-0e81-4a20-ba60-398c55cf1713.png)
This is my manifest.json
{
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
"manifestVersion": "1.16",
"version": "1.0.1",
"id": "a795c2b9-3815-4cda-b80a-0d0cb8ad6109",
"packageName": "com.travelflan.francis-bot",
"developer": {
"name": "Francis kim",
"websiteUrl": "https://website.com/",
"privacyUrl": "https://website.com/privacy",
"termsOfUseUrl": "https://website.com/app-tos"
},
"icons": {
"color": "color.png",
"outline": "outline.png"
},
"name": {
"short": "Francis 봇",
"full": "Francis 봇"
},
"description": {
"short": "travelflan 챗봇",
"full": "travelflan 챗봇"
},
"accentColor": "#666666",
"staticTabs": [
{
"entityId": "conversations",
"scopes": [
"personal"
]
},
{
"entityId": "about",
"scopes": [
"personal"
]
}
],
"bots": [
{
"botId": "a795c2b9-3815-4cda-b80a-0d0cb8ad6109",
"scopes": [
"personal",
"team",
"groupChat"
],
"supportsFiles": true,
"isNotificationOnly": false,
"supportsCalling": true,
"supportsVideo": true
}
],
"permissions": [
"identity",
"messageTeamMembers"
],
"validDomains": [
"*.azurewebsites.net",
"*.botframework.com",
"*.microsoftonline.com"
]
}
I think maybe the manifest file is not applied.
If i deploy using github action uses: azure/webapps-deploy@v2, isn't it automatically applied?
Should I always visit the following link?
https://admin.teams.microsoft.com/policies/manage-apps
I was able to update the manifest via a user with admin permissions at
https://admin.teams.microsoft.com/policies/manage-apps.
After applying, it was reflected when I logged out and logged in.