Hey there @vicary, welcome to the Auth0 Community!
When it comes do working with Password Grants we have a great tutorial below which I’ve also paired with some documentation using the forward-for
header:
https://auth0.com/docs/api-auth/tutorials/password-grant
Please give it a look and let me know if you have any questions!