Questions tagged [nuxt-auth]
The nuxt-auth tag has no usage guidance.
nuxt-auth
196
questions
0
votes
0
answers
13
views
How to prevent gtm sensetive data sending?
I`ve got Nuxt 2 + nuxt-gtm and there is a problem
I`ve got oauth2 scheme of auth and when login user returning to /callback page with query like code=some_code&state=some_state
How to prevent ...
0
votes
1
answer
57
views
method is not supported for route login
The GET method is not supported for route login. Supported methods: POST.
I don't understand where the login happens here
Why doesn't my Kernel go further?
My Client
async resend() {
try {
...
0
votes
0
answers
42
views
Nuxt 3 Supabase - 500 auth Session missing
I am trying to integrate Supabase Github OAuth with Nuxt 3 but I am having an error "500 auth session missing" and it's very slow!
The server middleware causing the Error: (user.ts)
import {...
0
votes
0
answers
24
views
Can't build a dynamic link on nuxt 3
I need to create a link like this for password-reset
http://localhost:3000/password-reset/d866f5fa974450aabc5fe0943d7266c6659f43e28f1a7a3cda94957374e55974?email=ospreystudio2020@gmail.com
I compiled ...
1
vote
1
answer
31
views
Supabase oauth redirectUrl not working | Nuxt 3
I'm trying to set up authentication in Supabase using GitHub OAuth.
The issue is that after clicking the login button, nothing happens!
when I try to access a restricted link I am redirected to the ...
0
votes
0
answers
55
views
How to remove next-auth callbackUrl and error query parameter from url
I'm working with Nuxt and I'm trying to implement Credentials provider authentication with next-auth (version 4.21.1) and @sidebase/nuxt-auth (version 0.7.2). I setup a custom sign-in page and I got a ...
0
votes
0
answers
17
views
How do Nuxt Published modules import helper functions from a previously imported published module?
How do "published" modules import helper functions from a previously imported published module?
The docs say:
Published modules cannot leverage auto-imports for assets within their runtime ...
0
votes
0
answers
111
views
Problem with Nuxt Authentication in Production
I am trying to deploy a nuxt application in a server. The server uses nginx and acts as proxy to localhost. Everything seems fine, I can already access the appliaction with the domain of the server ...
0
votes
2
answers
55
views
Laraval Santcum 419 "CSRF token missmatch" error with nuxt
I have an application with a Laravel backend using Sanctum. For the frontend, I use Nuxt3 with nuxt-auth-sanctum.
When I run the frontend and backend on my local machine, everything works fine, and I ...
0
votes
0
answers
198
views
sidebase/nuxt-auth refresh token does not work well
Project Context:
I have a project using Nuxt 3, and I have integrated the sidebase/nuxt-auth module for authentication.
Detailed Description:
I have successfully installed and configured the sidebase/...
0
votes
0
answers
27
views
nuxt-auth failed to build on Cloudflare
Nuxt3 with Sidebase nuxt-auth deployment on Cloudflare Pages problem. it runs as expected on local dev environment, but failed to build on Cloudflare deployment.
Any help is appreciated. Thank you!
...
1
vote
0
answers
140
views
Nuxt 3: Is it possible to pass custom parameters to useFetch?
TL;DR: is there ny way to pass custom parameters to useFetch? I was passing them to "query/params", but that's given me some problems I'm now trying to solve.
Explanation:
I'm working on ...
1
vote
2
answers
64
views
How to get the LocalePath() and return a path with the locales in Nuxt3 Server
How can I get the localePath() from Nuxt 3 server?
// server/api/[...].ts
export default NuxtAuthHandler({
// The secret is used to encrypt the JWT token
secret: useRuntimeConfig().auth....
0
votes
0
answers
99
views
Sidebase Nuxt-auth / Auth.js capturing adapter errors
I'm using sidebase/nuxt-auth as my auth module (based on auth.js) and @auth/pg-adapter as database adapter for a Nuxt3 project.
Everything is working fine when my database server is up. But sometimes ...
0
votes
0
answers
73
views
Nux 3 sidebase auth with AppleProvider fix redirect
Is there a way to successfully log in with the AppleProvider using sidebase auth (Next Auth).
Here is my nuxt.config.ts
auth: {
baseURL: process.env.AUTH_ORIGIN,
globalAppMiddleware: true,
...