15five / django-scim2

A SCIM 2.0 Service Provider Implementation (for Django)
http://django-scim2.readthedocs.io/
Other
77 stars 27 forks source link

Add EXPOSE_SCIM_EXCEPTIONS setting #64

Closed logston closed 2 years ago

logston commented 2 years ago

This commit adds an EXPOSE_SCIM_EXCEPTIONS setting that allows users of the library to toggle whether SCIM errors are shown to the scim client.

In some circumstances it can be beneficial for the client to know what caused an error. However, this can present an unacceptable security risk for many companies. This flag allows for a generic error message to be returned when such a security risk is unacceptable. The flag defaults to False, thus not displaying errors to clients.

Fixes #59

logston commented 2 years ago

https://github.com/15five/django-scim2/pull/63 needs to be merged first before this can be merged.

logston commented 2 years ago

np!