Customize Auth DTO Response
Currently if we want to customize the Auth DTO Response in Credential Auth Provider, we must to rewrite the Auth Feature,the Authentication Service and the Credential Provider.
It would be useful to be able to set a custom auth DTO Response.
At this time there isn't a simple solution.
I found this post on stackoverflow that explains the problem in details:
9
votes

You can use the Meta string Dictionary to extend the AuthenticateResponse with additional custom info, but we’re not planning on trying to support for switching the AuthenticateResponse DTO entirely and breaking the Service Contract.