Title: Request failed
Last modified: February 3, 2022

---

# Request failed

 *  [calfree](https://wordpress.org/support/users/calfree/)
 * (@calfree)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/request-failed-3/)
 * I first get the token using the authentication end point. I then use that token
   to login. If you look at the request it is 100% correct according to the documentation.
   When I run it I get a Bad Request error in the browser.
 * Here are my settings
    [](https://www.linkpicture.com/view.php?img=LPic61fb8b883257f1675561784)
   [](https://www.linkpicture.com/view.php?img=LPic61fb8b883257f1675561784) [](https://www.linkpicture.com/view.php?img=LPic61fb8b883257f1675561784)
   [](https://www.linkpicture.com/view.php?img=LPic61fb8b883257f1675561784)
 * Any help is appreciated

Viewing 1 replies (of 1 total)

 *  Thread Starter [calfree](https://wordpress.org/support/users/calfree/)
 * (@calfree)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/request-failed-3/#post-15322929)
 * if I disable auto login and change the uRL to [http://localhost:10019/?rest_route=/simple-jwt-login/v1/](http://localhost:10019/?rest_route=/simple-jwt-login/v1/)
   then I can see all the routes the plugin provides and i presume I am logged in
   because only admin is supposed to see that right?
 * But going to [http://localhost:10019/?rest_route=/simple-jwt-login/v1/autologin&JWT=JWT](http://localhost:10019/?rest_route=/simple-jwt-login/v1/autologin&JWT=JWT)
   with the auto login set to yes or no gives me a bad request error.
 * I would like to get the user that is logged in back so I can get his name and
   email and everything else the user added to his profile
    -  This reply was modified 4 years, 4 months ago by [calfree](https://wordpress.org/support/users/calfree/).

Viewing 1 replies (of 1 total)

The topic ‘Request failed’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [calfree](https://wordpress.org/support/users/calfree/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/request-failed-3/#post-15322929)
 * Status: not resolved