Tag: Authentication

Auth: Cannot read property ‘$cookies’ of undefined 

I faced this problem while developing Nuxt.js authentication middleware. The key this doesn’t work within the middleware,…

 Posted in Nuxt.js Tagged , , , , ,

Laravel: Login with email or phone

How to login with phone or email in Laravel passport?

 Posted in Code snippets, Laravel, PHP, Programming Tagged , ,

Lumen/Lumen: Create & Check Password

Laravel/Lumen comes with Hash facade that provides the secure Bcrypt & Argon2 hashing for storing user string passwords.

 Posted in Laravel Tagged , , ,

Lumen Passport Logout

If you are using LumenPassport (that is based on Laravel Passport) for user authentication, you…

 Posted in Lumen Tagged , , , , , ,

Lumen authentication API

Since last couple of years I used Laravel for web and API development, finally decided…

 Posted in Laravel Tagged , , , , ,

“storage/oauth-private.key” does not exist or is not readable

If you are runing Laravel app and using Passport, you might encounter this error while…

 Posted in Laravel, PHP Tagged , ,