imsweb / django-saml-sp

A Django application for running one or more SAML service providers (SP)
BSD 3-Clause "New" or "Revised" License
15 stars 10 forks source link

"user_defaults" JSONField #2

Closed ruttenb closed 4 years ago

ruttenb commented 4 years ago

There are times where you may want to specify default values for specific User fields on user creation. A user_defaults JSON Field will allow sites to specify default values for user fields on an IdP level.

ruttenb commented 4 years ago

I created a new model for it instead of using a JSONField. Here is the PR - https://github.com/imsweb/django-saml-sp/pull/6