(new) tsf_user function to return name/email instead of OpenID sub

Related products: Software Factory Indicium Service Tier

When a user is created with OpenID and the identifying claim is set to 'sub' (which is preferred), this 'sub' value will be displayed in trace fields when that user makes changes in your end product;

 

The idea is to modify the current/new 'tsf_user' function to return any other fields (based on what you configured in IAM) related to this user's information, such as First Name and Last Name or Email

Does the function dbo.tsf_orginal_login() not resolve your problem?


Does the function dbo.tsf_orginal_login() not resolve your problem?

That will return the original user in case of simulation, but that may also be a sub


This is quite an challenge, when you want to see (readable and understandable) who inserted/edited a record. I guess the usr_id will be varying in time for the same person. I find it necessary, though.


Indicium does have all the necessary information to create a session variable for it. We could thereafter also supply a function, let's say tsf_usr_name, that returns that value or else uses the tsf_original_login function to supply a value.

Would that be a suitable solution?


NewNeeds feedback

Indicium does have all the necessary information to create a session variable for it. We could thereafter also supply a function, let's say tsf_usr_name, that returns that value or else uses the tsf_original_login function to supply a value.

Would that be a suitable solution?

That would be perfect!


Needs feedbackOpen