django-saml2-auth icon indicating copy to clipboard operation
django-saml2-auth copied to clipboard

Can we use this in partnership with existing django auth?

Open iandouglas opened this issue 9 years ago • 4 comments

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.

iandouglas avatar Aug 29 '16 21:08 iandouglas

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.

naggie avatar Jan 18 '17 11:01 naggie

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 avatar May 31 '19 09:05 ShaheedHaque

@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.

iandouglas avatar Jun 01 '19 10:06 iandouglas

Thanks for the reply.

ShaheedHaque avatar Jun 01 '19 13:06 ShaheedHaque