Giter Club home page Giter Club logo

Comments (11)

koltyakov avatar koltyakov commented on June 15, 2024

Hi and thank you for the interest using the lib!

  1. 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.

  2. The password hash is valid only on the machine it was generated, if private.json was copied on another machine password should be updated.

  3. There is a chance that domain uses NTLMv2/Kerberos which are not supported.

  4. Can be different auth strategy.

from sp-rest-proxy.

hmendezm avatar hmendezm commented on June 15, 2024

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.

koltyakov avatar koltyakov commented on June 15, 2024

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.

hmendezm avatar hmendezm commented on June 15, 2024

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.

koltyakov avatar koltyakov commented on June 15, 2024

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.

hmendezm avatar hmendezm commented on June 15, 2024

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.

koltyakov avatar koltyakov commented on June 15, 2024

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.

koltyakov avatar koltyakov commented on June 15, 2024

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.

hmendezm avatar hmendezm commented on June 15, 2024

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.

koltyakov avatar koltyakov commented on June 15, 2024

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.

koltyakov avatar koltyakov commented on June 15, 2024

Closing this one. Feel free to reopen if questions remain.

from sp-rest-proxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.