I use Auth0 for authentication, and in my actions, I make queries to certain APIs. To ensure security, I verify the source via the IP addresses used by Auth0. The list of IP addresses is available in their documentation: Auth0 Allowlist Documentation.
However, this list can change when new IPs are added. What’s the best way to maintain this list so it stays up to date automatically? Does Auth0 provide an API or another method to retrieve the current IP addresses programmatically?
Thank you for posting your question. There’s currently no option to retrieve the list programmatically, but when the list is subject to changes we send a notification a few months ahead before changes take place:
IP addresses are subject to change. In the event of an IP address change, Auth0 sends notifications several months before changes take place. The lists are up-to-date at the time of writing.