-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
401 (Unauthorized) : Can't submit a message, react to a post or save a username. #31
Comments
Looks like this is a bug of protected function decodeJwtTokenCookie($request)
{
return (array) JWT::decode(
$this->encrypter->decrypt($request->cookie(Passport::cookie()), Passport::$unserializesCookies),
$this->encrypter->getKey(),
['HS256']
);
} Upgrade to Quick Fix: $this->encrypter->decrypt($request->cookie(Passport::cookie()), Passport::$unserializesCookies), with substr($this->encrypter->decrypt($request->cookie(Passport::cookie()), Passport::$unserializesCookies), 41), |
Having the same issue and this doesn't fix my problem sadly. Any ideas what could be done? |
@sbarbat I tried for a few hours now and can't figure out what's wrong. Can you please provide some assistance? I really need this package to work, as it's amazing and exactly what I need for my project. Thank you and sorry for tagging you. |
Sorry thaat havent got any time to look into this, will do it this weekend! 💪 @KnowledgeWanderer |
@sbarbat no need to be sorry, you did something great here, that's free and open source. |
I have the same issue @sbarbat composer.lock When I click the Ask a Question button I get a console error shown in attached screen shot. The second error, Error: Request failed with status code 401...app.js:2539:17, occurs on loading the new page which is the default home page /home I'm planning (hoping) to use this in production and will happily contribute $$$ to its upkeep. |
As a follow up, if I hit the page directly it returns a properly formatted json file with chatter data. |
The text was updated successfully, but these errors were encountered: