Comments (4)
Need to see your code to help
from full-stack-vue.js-2-and-laravel-5.
@anthonygore
I've uploaded the code to https://github.com/fires3as0n/Ch9Issue
from full-stack-vue.js-2-and-laravel-5.
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.
@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)
- Font Open Sans All is not install HOT 1
- Error when npm install HOT 2
- Chapter 10: logo and logo_grey HOT 1
- Adding amenities value HOT 2
- Typos in Chapter 2 HOT 2
- Chapter 09 Passport API Auth problem HOT 5
- Book and source code not in sync for data migrations HOT 1
- Chapter 4 - Migrations. HOT 1
- Blank screen under MAMP HOT 2
- Chapter 10 demo, works great except toggleSaved
- page 88 / typo amenity_wifi HOT 1
- body content is crammed to the left of the screen in chapter2:watchers HOT 3
- Typo in chapter2:event modifiers HOT 3
- Chapter 7 - Building a Multi-Page App with Vue Router HOT 1
- HeaderComponent call open modal HOT 5
- Chapter5 error npm install HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from full-stack-vue.js-2-and-laravel-5.