Optio1
Optio1
NNuxt
Created by Optio1 on 3/24/2024 in #❓・help
Issue reliably getting cookies in API Routes.
133 replies
NNuxt
Created by Optio1 on 3/24/2024 in #❓・help
Issue reliably getting cookies in API Routes.
still does not account for why I need an external link to get to /api/login or it returns 404 but thats alteast work arroundable
133 replies
NNuxt
Created by Optio1 on 3/24/2024 in #❓・help
Issue reliably getting cookies in API Routes.
🤦‍♂️ 🤦‍♂️ sameSite: lax fixes the cooke not appearing on discords redirect
133 replies
NNuxt
Created by Optio1 on 3/24/2024 in #❓・help
Issue reliably getting cookies in API Routes.
but it is progress
133 replies
NNuxt
Created by Optio1 on 3/24/2024 in #❓・help
Issue reliably getting cookies in API Routes.
which for obvious reasons is not a solution
133 replies
NNuxt
Created by Optio1 on 3/24/2024 in #❓・help
Issue reliably getting cookies in API Routes.
and skip discord
133 replies
NNuxt
Created by Optio1 on 3/24/2024 in #❓・help
Issue reliably getting cookies in API Routes.
it works if I set the link in the api route to redirect directly to the app
133 replies
NNuxt
Created by Optio1 on 3/24/2024 in #❓・help
Issue reliably getting cookies in API Routes.
Ok so
133 replies
NNuxt
Created by Optio1 on 3/24/2024 in #❓・help
Issue reliably getting cookies in API Routes.
I can try attaching a debugger tomorrow here.
133 replies
NNuxt
Created by Optio1 on 3/24/2024 in #❓・help
Issue reliably getting cookies in API Routes.
whats weirder is the login api route when navigating to it renders a 404 error untill I click into it and hit enter, unless its an external link.
133 replies
NNuxt
Created by Optio1 on 3/24/2024 in #❓・help
Issue reliably getting cookies in API Routes.
IDK what to do
133 replies
NNuxt
Created by Optio1 on 3/24/2024 in #❓・help
Issue reliably getting cookies in API Routes.
if that yeilds the same results
133 replies
NNuxt
Created by Optio1 on 3/24/2024 in #❓・help
Issue reliably getting cookies in API Routes.
yea, il try the plugin way
133 replies
NNuxt
Created by Optio1 on 3/24/2024 in #❓・help
Issue reliably getting cookies in API Routes.
It just seems unnessesarily complex for something that seems like the current code should just work for.
133 replies
NNuxt
Created by Optio1 on 3/24/2024 in #❓・help
Issue reliably getting cookies in API Routes.
I tried this using the vue page script components as well, same problem. I mean, I can do something like that custom fetch with the plugins that just returns the token if thats going to work.
133 replies
NNuxt
Created by Optio1 on 3/24/2024 in #❓・help
Issue reliably getting cookies in API Routes.
really?
133 replies
NNuxt
Created by Optio1 on 3/24/2024 in #❓・help
Issue reliably getting cookies in API Routes.
with fetch and useFetch you can do with credentials = true and then it sends the cookies
133 replies
NNuxt
Created by Optio1 on 3/24/2024 in #❓・help
Issue reliably getting cookies in API Routes.
No description
133 replies
NNuxt
Created by Optio1 on 3/24/2024 in #❓・help
Issue reliably getting cookies in API Routes.
if I click a button in my nuxt app that redirects to the login page that is not expicitly tagged as external, it has the same error, but if I set it to external it works fine.
133 replies
NNuxt
Created by Optio1 on 3/24/2024 in #❓・help
Issue reliably getting cookies in API Routes.
this happens when setting the cookie as well
133 replies