Open greggles opened 5 years ago
same
37 char are the global API keys which give full access to the Cloudflare account.
In the linked patch I check for 40 char api keys too, the new ones which allow granular permission management.
@Lusitaniae did you also check if any other things has to be changed with regards to authentication? Your patch doesn't work for me.
I believe not.
In the end we (dev team actually) made a new module with only the restore IP feature, so can't tell you much more about this patch.
I would like to up-vote this issue as I'm seeing the same issue with a valid API key that is 40 characters long.
please see my PR/proposed patch above and see if that works out for you @rmcveigh
please see my PR/proposed patch above and see if that works out for you @rmcveigh
I'll look at it. Seems like tests are failing though. FWIW.
When I input a valid key I get the error message:
Invalid Api Key: Key should be 37 chars long.
Perhaps that was for old api keys?