Tag: Authentication
Auth: Cannot read property ‘$cookies’ of undefined
Danyal April 6, 2022
I faced this problem while developing Nuxt.js authentication middleware. The key this doesn’t work within the middleware,…
Posted in Nuxt.js Tagged Auth, Authentication, javascript, middleware, node, nuxt.js
Laravel: Login with email or phone
Danyal March 18, 2021
How to login with phone or email in Laravel passport?
Posted in Code snippets, Laravel, PHP, Programming Tagged Authentication, LaravelPassport, login
Lumen/Lumen: Create & Check Password
Danyal April 15, 2020
Laravel/Lumen comes with Hash facade that provides the secure Bcrypt & Argon2 hashing for storing user string passwords.
Posted in Laravel Tagged Authentication, hash, login, password
Lumen Passport Logout
Danyal June 9, 2019
If you are using LumenPassport (that is based on Laravel Passport) for user authentication, you…
Posted in Lumen Tagged Authentication, laravel, LaravelPassport, logout, lumen, LumenPassport, token
Lumen authentication API
Danyal November 24, 2018
Since last couple of years I used Laravel for web and API development, finally decided…
Posted in Laravel Tagged API, api_token, Auth, Authentication, lumen, sessionless
“storage/oauth-private.key” does not exist or is not readable
Danyal September 25, 2018
If you are runing Laravel app and using Passport, you might encounter this error while…
Posted in Laravel, PHP Tagged Authentication, laravel, Passport