We have a requirement where we need to create a custom endpoint(other than connect/token) using which we can generate the token for password GrantType.
I did create a new endpoint by implementing IEndpointHandler but how do I call a ResourceOwnerPasswordValidator which will validate the username and password and return a token?
Note: We don't want to create a new GrantType, We just need a new endpoint which will return the token for password GrantType
Also we have already implemented extension grant type which are working fine but we have a different business requirement where users can call different endpoint other that connect/token and still get the token using password GrantType.