You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
although i cannot help you with your problem specifically, i may provide an example on how i authenticate using NTLM auth. You may be able to modify my code to your needs and apply it to your type of authentication.
I use python3 in the following example.
# I use urllib.request for my custom openerimporturllib.request, urllib.error, urllib.parse# I use a modified version of python-ntlm, providing me with the ability to use NTLM in py3sys.path.append('./python-ntlm/python30/')
fromntlmimportHTTPNtlmAuthHandlerpassman=urllib.request.HTTPPasswordMgrWithDefaultRealm()
passman.add_password(None, URL, USERNAME, PASSWORD)
auth=HTTPNtlmAuthHandler.HTTPNtlmAuthHandler(passman)
opener=urllib.request.build_opener(auth)
site=SharePointSite(URL, opener)
URL, USERNAME and PASSWORD being user-defined constants.
I need to connect to sharepoint using auth cookies - rTFa and FedAuth.
Can you share the substitute command for this :
opener = basic_auth_opener(server_url, "username", "password")
The text was updated successfully, but these errors were encountered: