How do I specify auth0-forwarded-for in password grant?

Hi everyone.

We have a small internal app that authenticates our users from our node.js API. It never hits the rate limits with our server IP, but we want to play safe and follow the best practise by giving the auth0-forwarded-for header.

Is there a way to specify the said header in new AuthenticationClient().passwordGrant()?

Best,
VIcary

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!

Thanks for the reply.

Much appreciated if you would lead the way to add that header in node-auth0.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.