Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter juanguillermo

    (@juanguillermo)

    Update:
    When I GET request from Insomnia, if the SWPM plugin is active, I get a 500 error in the response body. But if it’s inactive, I get the 200 code, user data in the body, and WP login cookies in the header.

    Insomnia’s settings say that it automatically stores these cookies and sends them when they are needed.

    Now (the interesting thing) if I reactivate the SWPM plugin and do GET, I get code 200, the user data and NEW WP login cookies + SWPM login cookies.

    From then on, all the requests you make to WP will be code 200. Logically, in each login request the cookies change.

    Now, if I copy these cookies to my fetch code in Node.js, I also get 200 code from WP, even if the SWPM plugin is enabled.

    Logically, these cookies expire and it is not something that can be used in production, but this information may help to solve the problem.

    Plugin Support mbrsolution

    (@mbrsolution)

    Thread Starter juanguillermo

    (@juanguillermo)

    Hello!

    Yep, in fact, I am creating the user using the SWPM API.

    However the documentation doesn’t say anything about Login.

    Do you have an API for login?

    What part of the plugin is blocking login through the WordPress API?

    Regards.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘SWPM cannot process this access request’ is closed to new replies.