Hello! I am trying to study perl since no one from our company knows this technology and we have a solution that has been working for more than 5 years that uses perl. it is a fairly stable solution and we have only encountered an issue with it recently when the company migrated documents to sharepoint online 2010. Basically we have an application that runs on linux and uses perl to access websites to get documents. However, our current perl script seems to be incompatible with linking to sharepoint. For one, the sharepoint uses two factor authentication upon login via pingid. is there a way to use perl to override this? or how could this be handled at the backend? Sharepoint owners have told us to use the available REST APIs. But, we are not sure how to integrate this with perl and linux. I've tried reading some references and most of the codes uses NTLM. Our script uses Mechanize. Which of the two would be more efficient to use with sharepoint that has a two factor authentication? Would greatly appreciate your help. Thanks!

In reply to Perl with Sharepoint and two factor authentication by perlas

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.