Support the ongoing development of Laravel.io →
Sanctum Laravel Authentication

I am trying to create an API for getting all posts and creating a post. But the route can only be assessed by authenticated users.

I am finding it difficult to implement this

How to use a service provider to create an interface to a 3rd party API which can be used to create and store users information that are not available locally ls

Last updated 2 years ago.
0

Please check this video and follow along. https://www.youtube.com/watch?v=MT-GJQIY3EU&t=267s

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Monstajams monstajams Joined 18 Aug 2021

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.

© 2025 Laravel.io - All rights reserved.