Comments (11)
Hi and thank you for the interest using the lib!
-
Please make sure that the creds and site URL are correct, you can also try username in the following format "[email protected]" and omit separate domain parameter.
-
The password hash is valid only on the machine it was generated, if private.json was copied on another machine password should be updated.
-
There is a chance that domain uses NTLMv2/Kerberos which are not supported.
-
Can be different auth strategy.
from sp-rest-proxy.
Thanks for a quick reply. I tried with the [email protected] and it is not working either. I have generated the hash in the same machine. I had not copied the file from somewhere else. Let me see If I can use other auth strategy.
best,
Hmendezm
from sp-rest-proxy.
Can you check which NTML compatibility level is configured on SP server? https://technet.microsoft.com/en-us/library/cc960646.aspx?f=255&MSPPError=-2147217396
from sp-rest-proxy.
I checked the NTML compatibility and I found out the following
"Send NTLNv2 response only. Refuse LM & NTML."
is there a workaround for this?
Best regards
Hmendezm
from sp-rest-proxy.
I'm afraid not.
Only by introducing another auth strategy to SP server, i.e. AddIn's, FBA or ADFS. As it's a dev environment, maybe it's not an issue, or downgrading to NTLM v. 1 (not sure if changing registery key is an option).
from sp-rest-proxy.
ok. I will try with Addin to see how goes. Angular 5 and Addins? do you have an example of using sp-rest-proxy with addins?
thanks very much for your help.
best
hmendezm
from sp-rest-proxy.
I've never experimented with NTLMv2 by myself, by guys involved in the creation of auth lib are sure that it's technically not possible. If it's possible to grant me a test access to the env with NTMLv2 and the issue you are experiencing I could take a look, maybe fresh look will help. Or at least I also will be sure that it's technically not possible and why.
If Add-Ins are configured, it should be "straightforward" (UPD: Actually the configuration is not the simplest one), you generate clientId/realm/rsaPrivateKeyPath/etc, register AddIn and grant it corresponding level access, then authenticates using add-in creds. Read more about. I worked with AddIns only with SPO.
from sp-rest-proxy.
Angular 5 and Addins?
Add-Ins in this schema are used only for proxy and assets deployment. And you're ended up with SPO which can be deployed to SP into assets doc lib and enabled on the page, i.e. using CEWP.
from sp-rest-proxy.
I was trying to setup an angular project that the developer can debug and test without have to deploy to the SharePoint environment. Similar to Sharepoint framework. We are using Sp 2013 for now so we do not have Sharepoint framework for now. So the idea is the developer can run the application locally and get data using restapi and in the same time be able to breakpoint the code in visual studio code.
anyway, thanks for the help again
best,
hmendezm
from sp-rest-proxy.
can debug and test without have to deploy to the SharePoint environment
Sure thing, that's why sp-rest-proxy is created for. =)
from sp-rest-proxy.
Closing this one. Feel free to reopen if questions remain.
from sp-rest-proxy.
Related Issues (20)
- OndemandCredentials Electron Mac HOT 6
- Identical requests - succeeding and failing HOT 4
- Can this react app be deployed as a web app on to a windows server so that users can access the app outside of the server ? HOT 6
- Host "sp-rest-proxy" as an independent web-app on Azure or pass authentication in configs to be used in CI/CD pipeline HOT 1
- Can this proxy be used when the host SP environment (on prem) has a "strict-origin-when-cross-origin" HTTP referrer policy? HOT 3
- sharepoint MFA bypass HOT 2
- [Feature query] Can the proxy be made to connect to multiple sites? HOT 1
- sp-rest-proxy with sharepointplus HOT 10
- POST request fails when calling the proxy (adding extra path to sharepoint request) HOT 5
- Proxy Error: Cannot read properties of null (reading 'toString') (see more in sp-rest-proxy console) HOT 4
- Version 3.3.4 broken for OnpremiseUserCredentials HOT 5
- Cannot read properties of null (reading 'toString') HOT 3
- On Demand - cannot read properties of null / childprocess.spawnsync EONENT Error HOT 2
- Proxy approach for Azure Active Directory HOT 2
- Typescript import HOT 1
- Setting siteUrl programatically HOT 4
- sp-rest-proxy does not work with Node 18.16.0 (current LTS) HOT 5
- Thank you HOT 1
- Docker HOT 2
- JSOM using sp-rest-proxy / clarification needed HOT 9
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 sp-rest-proxy.