Support the ongoing development of Laravel.io →

30 Threads

Laravel Sanctum Angular Authentication 419 error code

I'm trying to setup an authentication system using Laravel Sanctum and Fortify for the back-end and...

0 Likes 0 Replies
posted 2 weeks ago

problems with login and authentication in laravel

i need help with my login and authentication of admin. In the database I have a table called 'admins...

0 Likes 3 Replies

What makes this permissions-checking middleware fail?

I am working on a blogging application in Laravel 8. The application gives the users rights by assig...

0 Likes 2 Replies
Solved

How can I add a custom validation message for banned users?

I am working on a blogging application in Laravel 8. There are 4 user roles, among which, the "...

0 Likes 1 Replies

Need to define condition if/else via model

If we use basic select like: Products::paginate(6); it return us:-> [ id: 1, product name: 'test'...

0 Likes 2 Replies

Laravel 5.2 to 9.x

I am currently trying to upgrade a project from Laravel 5.2 to Laravel 9 I have the project migrated...

0 Likes 3 Replies

laravel project migartion please help

[email protected] MINGW64 /c/xampp/htdocs/gety-our-homes (main) $ php artisan migrate:fresh --s...

0 Likes 2 Replies

Why does sending multiline emails fail in this application?

I am working on a blogging application in Laravel 8. The ArticlesController controller I have this m...

0 Likes 2 Replies
Solved

Sanctum with different connection

Hi We are working on project where multiple databases are connected. We have created connections i.e...

0 Likes 0 Replies

Passport, Sanctum or both

Hi everyone! Years ago I have wrote a mobile app API with Laravel 4.2 and I want to rewrite those AP...

0 Likes 0 Replies

TokenMismatchException in VerifyCsrfToken.php line 67:

Hello World .. My site is programmed with laravel version 5.2.45 and I have shared hosting at ionos....

0 Likes 3 Replies

Authorization fails only on API routes

I'm trying to use auth:sanctum on the api route, but it returns "Not authenticated" even w...

0 Likes 1 Replies
Solved

403 Invalid Signature

Hello Laravel Community, Good day to you all. I am having an issue while verifying email. I get an e...

0 Likes 0 Replies

Sactum Automatic Logout on user inactiviysanc

Hi, We are using santrum for mobile App APIs, We want to put the functionality of automatic log out...

0 Likes 1 Replies

How to overwrite a variable from child controller?

I am working on a Laravel 8 app with users and posts. I have a PostsController and a FeaturedPostsCo...

0 Likes 3 Replies
Solved

Why this "Column 'name' in where clause is ambiguous" error?

I am working on a Laravel 8 app with users and posts. I want to display the full name of the author...

0 Likes 2 Replies
Solved

What causes this 'Unknown format "factory"' error?

I am working on a Laravel 8 app with users and posts. The objective is to create a bunch of posts (I...

0 Likes 4 Replies
Solved

How can I use a middleware method in the routes file?

I am working on a Laravel 8 app with users, roles and permissions. I use Microsoft Azure for user si...

0 Likes 1 Replies

How can I make a Blade directive that takes a parameter?

I am working on a Laravel 8 application. I need to make a custom directive for checking user's permi...

0 Likes 2 Replies
Solved

Why do my policies and gates fail outside the controller?

I am working on a Laravel 8 app with users, roles and permissions. I use Microsoft Azure for user si...

1 Likes 0 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 Laravel.io - All rights reserved.