---
title: "Discussion on \"How to authenticate your frontend apps with Laravel Sanctum\" | Hashnode"
description: "Discussion on \"How to authenticate your frontend apps with Laravel Sanctum\". Passport or Sanctum?\nOne popular question I have seen everywhere is people asking: \"Should I use Passport or Sanctum to authenticate my API\"? I have seen people answer this in various ways, but my answer is: Use Sanctum when you need to create a fron..."
url: "https://hashnode.com/posts/how-to-authenticate-your-frontend-apps-with-laravel-sanctum/5fd73f4eae523508b1da6962"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to authenticate your frontend apps with Laravel Sanctum](https://devloader.hashnode.dev/how-to-authenticate-your-frontend-apps-with-laravel-sanctum?utm_source=hashnode&utm_medium=feed)

Passport or Sanctum? One popular question I have seen everywhere is people asking: "Should I use Passport or Sanctum to authenticate my API"? I have seen people answer this in various ways, but my answer is: Use Sanctum when you need to create a fron...

Dec 14, 2020 · 11 min read · devloader.hashnode.dev  
Read the article

-   [#laravel](https://hashnode.com/tag/laravel)
-   [#apis](https://hashnode.com/tag/apis)
-   [#php](https://hashnode.com/tag/php)
-   [#vuejs](https://hashnode.com/tag/vuejs)

## Written by

[Samuel Olaegbe](https://hashnode.com/@samuelolaegbe)

@samuelolaegbe · Lagos, Nigeria

  
[View profile](https://hashnode.com/@samuelolaegbe)

Software Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
