skip to Main Content

Php – Laravel Http-only cookie

I have a small project using Laravel and Vue.js. I implemented a simple authentication system using Sanctum, based on YouTube tutorials and the official documentation. It works correctly; however, I am concerned about storing the JWT on the client-side using…

VIEW QUESTION

Javascript – NextAuth expression is not callable error

So I was learning authentication in Next.js using next-auth. I followed the documentation and here is my app/api/auth/[...nextauth]/route.ts code import NextAuth, { type NextAuthOptions } from "next-auth"; import GithubProvider from "next-auth/providers/github"; import CredentialsProvider from "next-auth/providers/credentials"; export const authOptions: NextAuthOptions =…

VIEW QUESTION

Reactjs – api/v1/register:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)

when i try to default register a new user then i can't register it on website ,and it shows internal server error in and failed to load resource error in console . [enter image description here](https://i.stack.imgur.com/CFa17.png)[[[enter image description here](https://i.stack.imgur.com/QrSB2.png)](https://i.stack.imgur.com/CWlKT.png)](https://i.stack.imgur.com/OMAnc.png) please…

VIEW QUESTION
Back To Top
Search