Home > Net >  When using GrantResourceOwnerCredentials how to get the custom return error rather than the context.
When using GrantResourceOwnerCredentials how to get the custom return error rather than the context.

Time:10-05

When used in MVC WebApi GrantResourceOwnerCredentials instead of the context, how to get the custom return. SetError default format
Context. SetError display is {" error ":" "} this custom I want such as {" errorCode ": 0}

CodePudding user response:

Said have the same problem, and has made several days,,, too deep can't change the way this owin inside

CodePudding user response:

When used in MVC WebApi GrantResourceOwnerCredentials is there any way not to return to 400
  •  Tags:  
  • C#
  • Related