Reputation: 1080
I am new to SAML and need some clarification. I do have the IDP server up and running, and i am trying to authenticate my Django application with IDP. The IDP's admin told me to sent them the metadata service provider which i am currently stuck.
I have been doing a lot of google research and there is so many Django packages doing this. So those packages just taking care of the connecting part or its a SP itself or i have to install something else ?
I have seen some SP vendor such as : Onelogin, Auth0...but i dont want to use them.
My goal is that to generate a SP metadata file and sent it to IDP people so they can import it.
Thanks for clarification.
Upvotes: 3
Views: 1747
Reputation: 3969
You have to implement a SAML service provider (SP). There are multiple approaches for doing so. One of these options is embedding code in your application so that it acts as a SAML SP. Assuming that you implement enough of SAML SP "features", you would then be able to generate the SAML metadata from your application and use it to configure SP/IdP trust in your identity provider.
The original SAML/Django library was djangosaml2 but it's no longer maintained; its fork is more or less active. djangosaml2 is based on PySaml2 which does support generation of SP metadata.
Upvotes: 3