Comments (8)
maybe the point is why ntlm auth return 401 -
Request URL:https://twmail.ami.com.tw:443/Ews/Exchange.asmx
Request Method:GET
Status Code:401 Unauthorized
Response Headersview source
content-length:0
date:Mon, 20 Jun 2016 05:57:59 GMT
server:Microsoft-IIS/7.5
set-cookie:exchangecookie=21f8b9a313b947818ef6f917ac439d73; expires=Tue, 20-Jun-2017 05:57:59 GMT; path=/; HttpOnly
www-authenticate:NTLM TlRMTVNTUAACAAAAGgAaADgAAAAFgomiwax6f+Z+oTIAAAAAAAAAAMIAwgBSAAAABgGxHQAAAA9NAEUARwBBAFQAUgBFAE4ARABTAC4AVABXAAIAGgBNAEUARwBBAFQAUgBFAE4ARABTAC4AVABXAAEADgBUAFcALQBDAEEAUwAxAAQAIgB0AHcALgBtAGUAZwBhAHQAcgBlAG4AZABzAC4AYwBvAG0AAwAyAFQAVwAtAEMAQQBTADEALgB0AHcALgBtAGUAZwBhAHQAcgBlAG4AZABzAC4AYwBvAG0ABQAiAHUAcwAuAG0AZQBnAGEAdAByAGUAbgBkAHMALgBjAG8AbQAHAAgAYJ32srjK0QEAAAAA, Negotiate
x-powered-by:ASP.NET
Request Headersview source
Authorization:NTLM TlRMTVNTUAABAAAAB6IIogAAAAAoAAAAAAAAACgAAAAFASgKAAAADw==
Connection:keep-alive
Host:twmail.ami.com.tw
from ews-javascript-api.
I do not have access to test environment with NTLM credential. it may take a while to confirm it.
for streaming, it uses different XHR methods which does not support replacing like you do with NTLM.
once I have access to my test environment, I can test it and try fix the issue.
from ews-javascript-api.
Is there any other workaround for this, to get streaming subscriptions working with NTLM?
Or do you know when you are going to implement this?
from ews-javascript-api.
it is taking time for me to completely rewrite the XHR and Promise api, targeting for 1.0 beta release.
if you want to take your time to fix it, I was planning to use 'httpntlm' with 'fetch'. there is a way to use 'ntlm' library in handshake only, you can use approach similar to async.waterfall
and use it with FetchStream
.
you can look at HangingServiceRequestBase.ts
file to find out how is this done (using different XHR than default)
from ews-javascript-api.
OK. I'll try with httpntlm.
Btw when is the 1.0 beta planned for release?
from ews-javascript-api.
no date, once I finish #48 it will be 0.8.0 and #94 will make it 0.9.0. will close more issues with code improvement tag + bugs, it will be released beta.
from ews-javascript-api.
#131 is merged and #94 is closed. still awaiting 0.9 push on npm. you can still build form master to use this feature.
from ews-javascript-api.
ews-javascript-api@next
includes these changes. reopen if still facing issue. for NTLM v2 see #173
from ews-javascript-api.
Related Issues (20)
- Authorisation problem - 401 HOT 6
- Error SoapFaultDetails message: '401 Unauthorized', HOT 8
- TypeScript errors when compiling (cannot find name PrivilegedUserId and more) HOT 4
- Usage React Native
- Failing to fetch .msg file attachment from ews exchange server ews-javascript-api HOT 4
- C# code works, but not its Node equivalent: 401 Unauthorized HOT 16
- Booking type causes sync to fail
- Specify certificate authority while sending request HOT 2
- nodejs 18: digital envelope routines::unsupported HOT 5
- Appointment.Bind sometimes return null Organizer HOT 2
- Possibility to set User-Agent HOT 4
- when creating an event in the calendar, the body is not added HOT 1
- UNABLE_TO_VERIFY_LEAF_SIGNATURE HOT 1
- Missing typescript declaration for CreateItem HOT 2
- how to retrieve strings from Extended Properties with more than 255 characters HOT 1
- Missing finally in promise declaration
- AWS WorkMail: 500 Error HOT 1
- Question: Can we create a new mailbox for an existing AD user using this library? HOT 3
- Cannot get attachment of .EML type HOT 1
- Appointment created by ews-javascript-api are shown in Monrovia timezone HOT 3
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 ews-javascript-api.