
Product
Announcing Precomputed Reachability Analysis in Socket
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
nuxt-auth-sanctum
Advanced tools
This module provides a simple way to use Laravel Sanctum with Nuxt by leveraging cookies-based authentication. SSR-ready!
useSanctumAuth
composable for easy access to the current user and authentication methodsCSRF
token header and cookie managementCSR
and SSR
modes supportofetch
clientNote: Before using this module, please make sure that you have already configured Laravel Sanctum on your backend. You can find more information about Laravel Sanctum here.
Complete documentation - Nuxt Auth Sanctum docs.
nuxt-auth-sanctum
dependency to your projectnpx nuxi@latest module add nuxt-auth-sanctum
nuxt.config.ts
fileexport default defineNuxtConfig({
modules: ['nuxt-auth-sanctum'],
sanctum: {
baseUrl: 'http://localhost:80', // Laravel API
},
});
That's it! You can now use Nuxt Auth Sanctum in your Nuxt app ✨
For more details, check the documentation here.
v1.1.1
FAQs
Nuxt module for Laravel Sanctum authentication
The npm package nuxt-auth-sanctum receives a total of 3,469 weekly downloads. As such, nuxt-auth-sanctum popularity was classified as popular.
We found that nuxt-auth-sanctum demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.