JonathanHolvey / sharepy

Simple SharePoint authentication for Python
GNU General Public License v3.0
175 stars 52 forks source link

Microsoft turning off basic authentication #72

Open kepler62f opened 1 year ago

kepler62f commented 1 year ago

Microsoft is going to turn off Basic Authentication. See:

https://techcommunity.microsoft.com/t5/exchange-team-blog/basic-authentication-deprecation-in-exchange-online-september/ba-p/3609437

Will this affect sharepy's ability to authenticate with Sharepoint Online?

dltacube commented 1 year ago

I don't see why this would be affected since that post relates to Exchange services and Sharepy uses STS/SAML to login. It submits the user/password in XML then retrieves a digest, which is kind of like a token for subsequent calls rather than resubmit credentials.

I'd love it if someone with more knowledge can chime in to confirm this though.

dltacube commented 1 year ago

@kepler62f I opened a ticket w/ microsoft asking about this and they said it wouldn't be affected. If this is critical to your operation, I would advise you do the same :)

rockraptor5 commented 1 year ago

@dltacube Thanks for checking into that with MS! I was warned by our IT admins I'd have issues but haven't seen any related to this exactly. Although I have issues when I try to post a file using sharepy v2.0.0 vs v1.3.0. With v1.3.0 it works just fine but I get a 403 response using the same code with v2.0.0.