Title: rest_unauthorized
Last modified: November 23, 2020

---

# rest_unauthorized

 *  Resolved [austriancoder](https://wordpress.org/support/users/austriancoder/)
 * (@austriancoder)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/rest_unauthorized/)
 * 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](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](https://wordpress.org/support/users/austriancoder/)
 * (@austriancoder)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/rest_unauthorized/#post-13697686)
 * 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](https://wordpress.org/support/users/austriancoder/)
 * (@austriancoder)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/rest_unauthorized/#post-13698922)
 * 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](https://wordpress.org/support/users/nicu_m/)
 * (@nicu_m)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/rest_unauthorized/#post-13699139)
 * Hello [@austriancoder](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/simple-jwt-login/assets/icon-256x256.png?rev=2106097)
 * [Simple JWT Login – Allows you to use JWT on REST endpoints.](https://wordpress.org/plugins/simple-jwt-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-jwt-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-jwt-login/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-jwt-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-jwt-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-jwt-login/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Nicu Micle](https://wordpress.org/support/users/nicu_m/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/rest_unauthorized/#post-13699139)
 * Status: resolved