Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install
K

ketchalegend

@ketchalegend
About
Posts
5
Topics
1
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

    Wordpress JWT Authetication Plugin
  • K ketchalegend

    @girish Once you have installed the plugin and made the changes you have to check out this url : https://yourdomain.com/wp-json/jwt-auth/v1/token
    if its correctly configured it should work. If not you get the 404 error


  • Wordpress JWT Authetication Plugin
  • K ketchalegend

    @girish is the HTTP Authorization Header deactivated?


  • Wordpress JWT Authetication Plugin
  • K ketchalegend

    @ketchalegend said in Wordpress JWT Authetication Plugin:

    RewriteRule ^(.) - [E=HTTP_AUTHORIZATION:%1]

    so you mean i dont have to make any changes to the htaccess file?


  • Wordpress JWT Authetication Plugin
  • K ketchalegend

    Due to the fact that the wordpress App is running on ngnix, i cant get the JWT Auth plugin to work even after i edited the .htaccess and added following
    rewriteCond %{HTTP:Authorization} ^(.)
    RewriteRule ^(.
    ) - [E=HTTP_AUTHORIZATION:%1]
    SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

    I still get {"code":"rest_no_route","message":"No route was found matching the URL and request method","data":{"status":404}} when trying to access this url: websiteurl/wp-json/jwt-auth/v1/token

    Is it possible to make some changes to the ngnix sites-enabled default file? Or how can i solve this issue.

    thanks

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.