Laravel Passport displays Basic Authentication prompt

September 27, 2017 · 1 min read
I've been bitten by this issue so many times that I have a form of amnesia where I forget that it happened all over again. This github issue highlights the problem but I'm more of a visual learner. The problem can be traced back to configuring the redirect_uri parameter incorrectly. OAuth2 highly requires that the callbacks are identical between the server and consumer(s). For consumers that are external to the app, this is almost never a problem. For first-party consumers like Swagger(vel), this is extremely easy to configure incorrectly.

Revisiting Laravel Homestead MySQL Password Expiration

January 8, 2017 · 1 min read
After putting the solution in my previous post through its paces for a few weeks, I realized the less intrusive approach is to patch Homestead v2's scripts/create-mysql.sh with the following snippet: This change pipes the default_password_lifetime setting into the file /etc/mysql/conf.d/password_expiration.cnf and restarts the mysql service. The provisioning process then can proceed as normal. This approach requires no updated vagrant virtualbox image or other similar adjustments and allows us to keep using version 0.3.3 indefinitely. I'm likely going t ...

Addressing Laravel Homestead MySQL Password Expiration

January 7, 2017 · 3 min read
On November 7th 2016, I was hit with a peculiar issue I've never seen before working in a provisioned Homestead box. The exception: Firing up a different vagrant machine, I was greeted with the same problem. This seemed to affect all of the vagrant boxes using version laravel/homestead (virtualbox, 0.3.3). On the machine, the MySQL version displayed by mysql --version is MySQL 5.7's password expiration policy seemed to point to the culprit. From MySQL 5.7.4 to 5.7.10, the default default_password_lifetime value is 360 (passwords must be changed approx ...

JSON Resume

April 17, 2016 · 1 min read
I wanted to mark what feels like an oasis in the desert of a long journey. During my last job search over 2 years ago, I tired of what had become a disjointed resume update routine. Accomplish a task, go to the Word-document-as-one-true-source, update, print to PDF, go to LinkedIn, update, go to careers.stackoverflow.com, update, rinse & repeat. I yearned for one interchangeable format that allowed me to generate HTML, Word and PDF at the very least. JSON Resume combined with resume-linkedin seemed like a great fit. Unfortunately, due to recent Link ...


January 12, 2016 · 2 min read
I said in my previous post that a lot can happen in 2 years. In that time span I've: Moved to using a MacBook and OSX. OSX being very BSD-like makes it an prime target for web development. It isn't the second class citizen Windows is in the Ruby or Node.js communities. Transitioned away from .NET and don't really miss it. I do randomly play around with .NET core when possible but I haven't actually built anything with it. This was honestly very huge at the time but I still feel I made the right decision. Though Windows 10 is the platform Windows 8 ...