Comments (11)
The same manifest should work everywhere. (Although some manifests cannot be deployed through a SharePoint catalog.) When you sideload on Windows, what kind of catalog are you using?
from office-add-in-nodejs-sso.
I am not sure I just followed the instructions to make a shared folder on my computer the adding that in the trusted add ins section. I followed the instructions here
from office-add-in-nodejs-sso.
OK. That means you are using a NetworkShare catalog, which should be fine. I'll see if I can find out anything.
from office-add-in-nodejs-sso.
Ahh okay, thank you so much for helping!
from office-add-in-nodejs-sso.
While we're waiting to hear back from the experts, a couple of thoughts:
- The errors that are specific to get AccessTokenAsync are number 13xxx. Error numbers 5xxx are from deeper in the Office.js code.
- The JavaScript engine that Office.js runs in on Windows is the version in IE 11 called Chakra. On a Mac the engine is the one in Safari called JavaScriptCore. Your error is "Invalid input arguments". Your first argument is the option object and it looks OK. The second is the callback. Could it be that you are using new JavaScript syntax (from ES6 or ES7) in the callback that is understood by JavaScriptCore, but not by Chakra?
from office-add-in-nodejs-sso.
Yeah I had seen that about the status codes. It was strange though because even on some of the other status code pages I could find the 5013 code.
The callback function is es5 syntax. Here is the first part of the function I made.
var callback = function(result) {
console.log(result);
...
}
from office-add-in-nodejs-sso.
Is it possible the version of Excel I have is not compatible? The version of Excel I have for Windows 10 is 2016 version 1705.
Edit: Add it looks like this might be the case. This web page ways you have to have 1708 or later.
from office-add-in-nodejs-sso.
@Danwakeem
One of our engineers just sent that same suggestion: Upgrade to 1708 8528.1000 or later.
from office-add-in-nodejs-sso.
Do you know if that build of Excel released yet? When I download Excel from our client's Office 365 management page it only gives me version 1705?
Edit: Sorry, I clearly need to read before commenting. I see on this page that I am probably just getting my build from a deferred channel. Let me try and install from a non deferred channel and see if that works.
from office-add-in-nodejs-sso.
You many need to be an Office Insider to obtain this version. For more information, see Be an Office Insider .
from office-add-in-nodejs-sso.
It does appear that my Excel version was the issue. Another company we work with has Office 365 Business Premium and when I uninstalled Office then reinstalled with the Business Premium version it gave me version 1710 and when I ran my plugin with that version of Excel SSO worked just fine.
Kind of a bummer though. I definitly should have read the documentation more carefully before I implemented this feature. I guess I just believed the office 365 page when it said Pro Plus users would have access to the newest versions of Office. ¯\(ツ)/¯
I do really appreciate your help though! This repository was super helpful in understanding how SSO works and how to implement it in the newer version of Office. I am hopping I will be able to use it in the future.
from office-add-in-nodejs-sso.
Related Issues (20)
- UnauthorizedError: Unable to verify JWT.jwt expired HOT 1
- The scope is not valid HOT 17
- Office.context.auth undefined HOT 4
- jwt issuer invalid. expected: https://login.microsoftonline.com/******/v2.0 HOT 10
- Get file from Sharepoint HOT 2
- Does SSO work on Desktop clients? HOT 1
- Add-in is not sideloading in outlook when uploaded as custom add-in HOT 1
- Token version mis match with new App Registration (Preview) HOT 8
- getAccessTokenAsync - Token lacks signature part and can't be decoded HOT 2
- Office.context.auth sometimes undefined HOT 5
- package and deploy word addin in sharepoint catalog HOT 2
- {name : "Internal Error", message : "An internal error has occurred.", code : 5001} When using getAccessTokenAsync HOT 1
- Can we have a proper readme.md file to follow steps to execute the solution HOT 1
- OfficeRuntime.auth.getAccessToken() always return 13007 error code in a particular tenant HOT 7
- Can Passport now be included in this sample now issues with dynamic keys? HOT 2
- Deploying solution started from this example HOT 13
- Office Online SSO HOT 10
- Error 13006 : An unexpected error occurred in the client. HOT 3
- No access_token response HOT 1
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 office-add-in-nodejs-sso.