11 months ago

Having a problem making a request with axios 500 (Internal Server Error)

Posted 11 months ago by p0t4t0

I am using Laravel together with React, jwt-auth, and axios, I've successfully implemented user login, user registration, and logout but for some reason I'm getting a 500 error whenever my application first loads and tries to get data through componentDidMount, although it works if I navigate to a different page then go back to that page again, I've been at this for 3 hours now and I still couldn't figure it out. Here is the error message I am getting Argument 3 passed to Lcobucci\JWT\Signer\Hmac::doVerify() must be an instance of Lcobucci\JWT\Signer\Key, null given. Help would be really appreciated.

Please sign in or create an account to participate in this conversation.