I have develop a web app with apppresser that use jwt login. The system use a iframe with link token.
When I try to delete a post in view o I try to submit a post with cred I lost the login.
The ajax request is not authenticated, is there a way to solve this?
In past I do simply this with login directly in iframe page but now iOs 14 block this possibility
Hello,
There isn't such kind of built-in feature within Toolset plugins. For the problem you mentioned above:
When I try to delete a post in view o I try to submit a post with cred I lost the login.
That means you did not submit the request to the WordPress as a logged-in user, so it conduct the problem.
For example, with WordPress built-in "Application Passwords":
https://make.wordpress.org/core/2020/11/05/application-passwords-integration-guide/
each time you send a request to WordPress site, you need to attach the Application Passwords too, so WordPress will take you as a logged-in user.
I suggest you check it with "Jwt login" plugin author, check if it is possible to get and store the logged-in user's cookies, so you can use cookies to send the request.
Thanks Luo,
is there a way to send autenticate Ajax request for delete post in view and inpunt new post with cred?
Regards,
Claudio
Toolset Forms plugin is a WordPress plugin, it works only within WordPress:
- when you login into WordPress site, you will get a cookie in client browser,
- when you submit Toolset Forms , it will attach above cookie in the request without any problem
as I mentioned above:
You need to check it with "Jwt login" plugin author, check if it is possible to get and store the logged-in user's cookies, so you can use those cookies to send the request.