I’m having a similar problem.
Gravity Forms 2.2.5.21, Force Login Version 5.1.1 on WordPress 4.9.4.
Wrote a python client that tries to download all the entries for a particular form.
When the python client tries to log in, it gets redirected to the Site’s login page, BUT – pasting the same URL the python client is using into an already authenticated browser window works perfectly.
I first tried the whitelisting, and then I found this thread and replaced the whitelist by adding:
remove_filter( 'rest_authentication_errors', 'v_forcelogin_rest_access', 99 );
to the bottom of the functions.php file (for the theme I’m using), and clicking Update.
Still getting the same issue – it’s trying to redirect to the login page. The bypass doesn’t seem to work.
The link I’m using (HTTP GET) is of the form:
https://MYFQDNHERE/gravityformsapi/forms/1/entries?api_key=XXXXXXX&signature=snV3FW7qWyvGfv6vE0j9ycLSfIM%3D&expires=1519029188&paging%5Bpage_size%5D=10000
The client I wrote works fine if I disable Force Login.
Ideas? Appreciate any help.
-
This reply was modified 7 years ago by
jvandenbos.
-
This reply was modified 7 years ago by
jvandenbos.
-
This reply was modified 7 years ago by
jvandenbos.
-
This reply was modified 7 years ago by
jvandenbos.