• Resolved austriancoder

    (@austriancoder)


    Hi.

    I am trying to get your plugin working on a multisite wordpress installation.
    When I try to get the JWT via https://domain.tlr/<site>/wp-json/simple-jwt-login/v1/auth?username=&#8230; I always get rest_unauthorized when I am not logged into the wp installation. Is there anything I am missing configuration wise?

    In the end I would like to be able to auth against wp, get back a JWT and use that JWT for other parts of the REST api (which should work even it is marked as a beta feature).

    Thanks

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

    (@austriancoder)

    Okay.. I git a little further. On this testserver the “Force Login” plugin was enabled. If I disable it I am getting now:

    {
      "code": "rest_forbidden",
      "message": "Du bist leider nicht berechtigt, diese Aktion durchzuführen.",
      "data": {
        "status": 401
      }
    }
    Thread Starter austriancoder

    (@austriancoder)

    I did a fresh multi-site installation and it looks like everything works. For me this not a problem in this plugin anymore 🙂

    Plugin Author Nicu Micle

    (@nicu_m)

    Hello @austriancoder,

    I’m glad this plugin works well and you managed to make it work.

    PS: A documentation website will come in the near future.

    Best regards,
    Nicu.

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

The topic ‘rest_unauthorized’ is closed to new replies.