Python Forum
How to handle the authentication for Apps within OneLogin?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to handle the authentication for Apps within OneLogin?
#1
My company uses Office 365 within OneLogin. Therefore I need to log in to OneLogin first then sign into Office 365 (OneDrive). My question is how do I do the authentication for this in Python? I want to read the excel file stored in OneDrive directly. I tried to retrieve the data directly using python requests module with HTTPBasicAuth and HttpNtlmAuth only to get error 403.

I have checked about Python-saml. https://github.com/onelogin/python-saml However, I am not sure this is what I need. This seems more like create a server for OneLogin using Python. I have asked on the Microsoft forum about this problem but they say this is more Python related. What is the correct approach for doing this?
Reply


Messages In This Thread
How to handle the authentication for Apps within OneLogin? - by tonywang531 - Mar-26-2021, 10:44 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  IMAP authentication matt_the_hall 0 2,077 Feb-23-2021, 08:38 PM
Last Post: matt_the_hall

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020