• Resolved nitsuj1001

    (@nitsuj1001)


    Hi,

    Im looking to replace the default, theme based woocommerce userbackend (where you have orders and this stuff) with a more modern react version.

    For this im would of course handle authentication and check current login status and be able to make authenticated requests to the API.

    Is this possible with your plugin? Can i just check if the loggedin cookie is set
    and read out the credentials for the requests or do you know a better approach?

    Thank you in advance

    Justin

Viewing 1 replies (of 1 total)
  • Plugin Author rockiger

    (@rockiger)

    I never use woocommerce and don’t fully understand what you want to achieve. You want’t to replace the theme? It sounds to me, you would like to create a headless WordPress site. There are other frameworks for that. Gatsby, Nextjs and Frontity come to mind

    ReactPress is meant to be integrated in an existing theme, inside a normal WordPress page. Then you are automatically logged in and you will have access to the API like a logged in user would have. Which access exactly depends on the user role.

Viewing 1 replies (of 1 total)
  • The topic ‘Authentication and authenticated requests’ is closed to new replies.