You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a use case where sensitive data is stored on the user object, which has sanitation hooks on the user service when the provider is remote.
These sanitation hooks are circumvented by the authManagement service (it being a server-side call) leading to the entire user object being returned, and subsequently sent down to the client. In these cases the client may be completely anonymous.
Expected behavior
Should be able to customize the sanitation of the user returned from the authManagement service.
Actual behavior
User contains all data, save what the authManagement service deems appropriate to remove.
System configuration
N/A
I am happy to implement this an send a PR across, just let me know.
It might be beneficial to also allow customized functions for other helpers.
The text was updated successfully, but these errors were encountered:
Steps to reproduce
I have a use case where sensitive data is stored on the user object, which has sanitation hooks on the user service when the provider is remote.
These sanitation hooks are circumvented by the authManagement service (it being a server-side call) leading to the entire user object being returned, and subsequently sent down to the client. In these cases the client may be completely anonymous.
Expected behavior
Should be able to customize the sanitation of the user returned from the authManagement service.
Actual behavior
User contains all data, save what the authManagement service deems appropriate to remove.
System configuration
N/A
I am happy to implement this an send a PR across, just let me know.
It might be beneficial to also allow customized functions for other helpers.
The text was updated successfully, but these errors were encountered: