I’m currently working on a shop like project that uses React as frontend and WordPress with Woocommerce as a backend.
To authenticate with the API I use the JWT Authentication for WP REST API, which works great.
The problem I’m facing is that I want to redirect to a checkout page that is not part of the PWA but a traditional WordPress page. Is there any way that I can create a WP session using the JWT token I created for the API?
The alternative would be to store the login data and pass it on to the checkout page. But I’d rather avoid this because of security concerns.