django-saml2-auth
django-saml2-auth copied to clipboard
Can we use this in partnership with existing django auth?
Would it be possible to split the responsibility of this SAML module to be an option for login, instead of "taking over" the login page completely? Seems like maybe this module is an "all or nothing" approach, and I'd like to build a service provider which allows me to use my existing authentication plus add a SAML login (perhaps from a different login landing page) for a third-party IDP.
As far as I can see, yes -- just don't override the default login URLs with the new SAML ones. Instead, route them separately and either redirect or link to them.
What @naggie says makes perfect sense, but would appreciate knowing if @iandouglas or anybody else has a hybrid setup going?
I'm ask because this project appears not to use the standard AUTHENTICATION_BACKENDS setting, and I'm actually using a custom User model, which presumably the SAML implementation would need to honour in some way.
@ShaheedHaque Honestly this was so long ago, I don't recall that we ever ended up implementing this because of that all-or-nothing approach.
Thanks for the reply.