Cédric Chevillard

Results 8 comments of Cédric Chevillard

Yes i tried this : ```php function jwt_whitelist( $endpoints ) { $rest_api_slug = home_url( '/wp-json/', 'relative' ); return array( $rest_api_slug.'elementor/*', ); } add_filter( 'jwt_auth_whitelist', 'jwt_whitelist', 10, 1); ``` But not...

In elementor : ![Capture d’écran 2021-01-05 à 17 11 21](https://user-images.githubusercontent.com/12508260/103669888-31cba980-4f79-11eb-9bb0-39cc95fa36b6.png)

@dominic-ks did it work for you?

i tried but without success :/ ... It's possible to authorize all route and restrict specific route ?

It would be in this case to add a blacklist so that the JWT verification is carried out for certain API requests

#62 I created a new version which allows to accept all requests and to block some if necessary

I understand the problem, the solution I proposed is a workaround to the problem. In my case I authorize all api calls (ex: wp-rocket, contact form...) except that I block...