OTA-Insight / djangosaml2idp

SAML 2.0 Identity Provider in Django
Apache License 2.0
104 stars 96 forks source link

Change defaults #105

Open FKD13 opened 4 years ago

FKD13 commented 4 years ago

I am working on a project where I want to configure some defaults like the default Processor to be used and default Attribute mapping. However I can't seem to find a way to easily change these. Can anyone point me in a direction on how to do this?

peppelinux commented 4 years ago

See some examples here: https://github.com/UniversitaDellaCalabria/uniAuth/blob/master/uniauth/processors.py https://github.com/UniversitaDellaCalabria/uniAuth/blob/master/idp/processors.py

And if you like it please put a star ;)

FKD13 commented 4 years ago

Thank you for the quick response!

Those examples will definitely help later on. However I did not describe my issue clear enough. I am trying to edit the defaults as displayed in the admin interface, I don't want admin's to have to worry about selecting the correct processor and supplying the correct mapping. image

peppelinux commented 4 years ago

uniAuth started as a djangosaml2idp fork. In uniAuth I use a default value pointing to that's configured in settings.py, as initial value in the form. The SP admin management was first introduced in uniAuth then, later, on djangosaml2idp, so we should wait for an answer from djangosaml2idp dev team