Comments (2)
Hey @icatchx22i, the authentication support is built to work when the web app is integrated with Teams via the public platform documented here:
https://docs.microsoft.com/en-us/microsoftteams/platform/overview
To see it in action just sideload the following app package into Teams:
https://github.com/ydogandjiev/taskmeow/raw/master/manifest/prod/taskmeow-prod.zip
You can do that following the instructions here:
https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/deploy-and-publish/apps-upload
from taskmeow.
Hi @ydogandjiev and thank you for your comment. I was able to install as per the instructions and can log in. What i still notice is that the app receives this error, which basically blocks the silent login feature. I have seen this in the official Complete Node example as well:
From console:
adal.min.js:2 Uncaught TypeError: Cannot read property 'length' of undefined
at AuthenticationContext.getRequestInfo (adal.min.js:2)
at AuthenticationContext.handleWindowCallback (adal.min.js:2)
at silent-end:13
silent-end:13 = ' authContext.handleWindowCallback(window.location.hash);
Googling the Error itself leads to comments stating ADAL is not being worked on anymore and that one should MSAL and is basically a dead-end. Is MSAL the way to go with MSTeams tabs in 2020? everything about the documentation of MSTeams suggests that it is not and ADAL is still the way to go. thanks and apologies if im barking up the wrong tree. Thanks for the demo app :)
from taskmeow.
Related Issues (7)
- resourceRequiresConsent error when trying to use SSO HOT 3
- ExtensionTabService: getAuthTokenForApp: Failed with error - App resource defined in manifest and iframe origin do not match HOT 1
- Adal issue happening which i believe is blocking silent auth HOT 1
- How do you ensure the user is in teams ? HOT 2
- Refreshing token workflow
- AADSTS90027-error on log-in.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from taskmeow.