djangosaml2idp icon indicating copy to clipboard operation
djangosaml2idp copied to clipboard

Change defaults

Open FKD13 opened this issue 3 years ago • 3 comments

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?

FKD13 avatar Jul 17 '20 13:07 FKD13

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 ;)

peppelinux avatar Jul 17 '20 13:07 peppelinux

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

FKD13 avatar Jul 17 '20 14:07 FKD13

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

peppelinux avatar Jul 17 '20 15:07 peppelinux