I have been trying to get this to work for some time but I am missing a crucial step>
fresh install of Modx 2.8.4 or 3.0.1 Install your package…
Edit the JWT example page to return OnValidate and OnToken OnCustom (in the example page). When running the demo and creating a token it makes one… but validating never works. If i copy the created token and paste it in jwt.io it shows up valid and has my key… when I try to run a postman or even your demo it just never works… always get a
{
“_valid”: 0,
“status”: 400,
“statusText”: “Bad Request”,
“errorLog”: "Invalid Token: "
}
should this demo work out of the box? any tips you can offer? should this work with
Authorization Bearer {tokenhere} ?
any advice! thanks so much!