Why Custom Validation in REST Api returning User

  Hi I am trying to implement Expose  REST API with Custom Validation. As soon as I select validation as custom it asked to select microflow and that microflow  returns user. I need to know why its returning the user. 
1 answers

Hello Aakash,


You've set the Authentication to Custom. The configured microflow is supposed to return the User that's actually trying to authenticate.


If you want to apply “Custom Validation” on API calls for example to check if attributes meet certain criteria, that's not done in the Custom authentication but in the operation microflow itself.