Git Product home page Git Product logo

Comments (4)

anthonygore avatar anthonygore commented on July 20, 2024

Need to see your code to help

from full-stack-vue.js-2-and-laravel-5.

fires3as0n avatar fires3as0n commented on July 20, 2024

@anthonygore
I've uploaded the code to https://github.com/fires3as0n/Ch9Issue

from full-stack-vue.js-2-and-laravel-5.

anthonygore avatar anthonygore commented on July 20, 2024

The solution is to downgrade to version 5.5.26. Not sure why yet, but something changed in 5.5.44 (the latest patch) that made passport stop working the way I have it configured.

composer require laravel/framework:5.5.26

I recommend you clear cookies, reseed database etc after doing this or you may see some errors.

If anyone wants to figure out what the change is I'd appreciate it!

from full-stack-vue.js-2-and-laravel-5.

fires3as0n avatar fires3as0n commented on July 20, 2024

@anthonygore
From what I've figured out, it was broken in 5.5.42 by disabling cookie serialization.
Upgrade guide at https://laravel.com/docs/5.5/upgrade#upgrade-5.5.42 says, that serialization can be re-enabled by setting protected static $serialize = true; at app/Http/Middleware/EncryptCookies.php, but doing so raises an exception in the app, that I cannot yet track, maybe you can help?

*UPDATE
Cleaning cookies on client side removes the exception, now can safely upgrade to the latest version and it will work.

Though I still wonder how should we handle this on server side (like catching the exception and forcing the client to clear cookies in case it occur, or how to make app work with serialization disabled)

from full-stack-vue.js-2-and-laravel-5.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.