How could I get metadata from my Python-Django project to implement the SSO?

I have a Python-Django project and I’m trying to integrate with a C#/.NET existing website SAML authentication, using their idp.

I absolutely need to generate a metadata file to give to whoever manages the IdP (C#/.NET website). I’ve been around the Internet for days but can’t find anything; I tried with all libraries (pysaml2, djangosaml2, python3-saml, django-saml2-auth, etc.) but it didn’t work!

How can I implement it?