Support » Plugin: Simple JWT Login - Login and Register to WordPress using JWT » Escape URL Characters for authentication

  • When I submit a url like this:


    What gets submitted looks like this:


    While a hash / pound sign is allowed in a password, it breaks the URL. It doesn’t look like the plugin allows for any escaping of the arguments. Is there a way to do that that I am missing?

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


    Hello @jcow,

    You can send the parameters in the request body as a JSON. This will fix your issue.

    Here is an example:

    Register user:

     curl -d '{"email":"","password":"123!@#$%"}' -X POST http://localhost/?rest_route=/simple-jwt-login/v1/users


    curl -d '{"email":"","password":"123!@#$%"}' -X POST http://localhost/?rest_route=/simple-jwt-login/v1/auth 

    PS: Please make sure you use the latest plugin version. The support for JSON in body has been added in 3.0.0.

    Best regards,

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.