We use the PHP SDK to carry out the Authentication Code Flow:
use Auth0\SDK\API\Authentication; $auth0_api = new Authentication($auth0Domain, $auth0ClientId, $auth0ClientSecret); $code_exchange_result = $auth0_api->code_exchange($code, $auth0BaseUrl.'/oauth/callback');
Recently, we migrated our code to Google Cloud and we saw that Auth0 throttles frequent attempts from our server IPs thinking they are end-user IPs.
Thus, I’m trying to pass in end-user IPs using the “auth0-forwarded-for” header. However, passing such header doesn’t seem possible with Authorization Code Flow and I can’t find alternatives?