Open kalhoro opened 3 years ago
Hello, I have the same problem have found a solution i'm by ionos and i have the same problem? can you help please ?
Late to the party but this might help someone. Are you sure you installed the same JWT Auth plugin on both servers? The older plugin returns the second response you posted while the newer plugin (this one) returns the first response.
I've installed plugin in test server and production server. Both servers are returning different response json Test Server response.
Production server response
I am wondered, without making any changes, just installing plugin and activating in both environments, why json response is different? Also note that keys are different also. i.e. email, user_email etc.
Also in production server, unable to use token for subsequent request. Always returning error jwt_auth_no_auth_header. I tried all the solutions mentioned in articles and answers, to change in htaccess, but none worked for me NOTE: I've cPnael access to the servers only.