'Is there any documentation about Office365 SSO using python?

I'm currently trying to develop an application to use ms-graph API using python. I'm trying to use SSO authentication but I cant find any resources or documentation related. I found this documentation https://docs.microsoft.com/en-us/office/dev/add-ins/develop/sso-in-office-add-ins but it is only for javascript.

I wrote a script using Flask and another script using O365 python package. It doesnt seem like its a Single sign on application that I try to achieve...

I'm looking for any documentation that could help.



Solution 1:[1]

You are referring to the Office web add-ins where you could also use SSO. But it seems you are developing a standalone application where Graph API is used. In that case you may find the Configure SAML-based single sign-on for your application using the Microsoft Graph API tutorial helpful.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Eugene Astafiev