I'm using a Salesforce standard OAuth2 API (https://<instance>.my.salesforce.com/services/oauth2/token) which generates an access token to access salesforce resources. I want to customize the error messages in this API whenever the user name is not valid or inactive or gives the wrong password.
I will be using this API as part of a Connected App to generate an access token upon validating whether a user is active or not in Salesforce.
2 answers
HI Chayan,Is this in the context of experience site? Related: https://salesforce.stackexchange.com/questions/232022/is-is-possible-to-define-a-custom-error-message-for-login-failure-in-salesforcehttps://salesforce.stackexchange.com/questions/12045/create-a-custom-login-failure-message-using-site-loginThanks