Nik ⚡
Nik ⚡
Explore posts from servers
NNuxt
Created by Nik ⚡ on 5/23/2024 in #❓・help
Middleware doesn't work (well) when using async/await?!
No description
12 replies
NNuxt
Created by Nik ⚡ on 5/23/2024 in #❓・help
Middleware doesn't work (well) when using async/await?!
No description
12 replies
NNuxt
Created by Nik ⚡ on 5/23/2024 in #❓・help
Middleware doesn't work (well) when using async/await?!
Thanks for sharing @JonathanDoerfler .
12 replies
NNuxt
Created by Nik ⚡ on 5/23/2024 in #❓・help
Middleware doesn't work (well) when using async/await?!
I created a composable for both createJwt and verifyJwt and experiencing the same issue using the middleware again. This is really annoying and I just don't know what the issue is..
12 replies
NNuxt
Created by Nik ⚡ on 5/23/2024 in #❓・help
Middleware doesn't work (well) when using async/await?!
No description
12 replies
NNuxt
Created by Nik ⚡ on 5/23/2024 in #❓・help
Middleware doesn't work (well) when using async/await?!
That was also my understanding, thanks @Likonima - thought I'd start a new thread to be more clear about the issue being the middleware.
12 replies
NNuxt
Created by Nik ⚡ on 5/23/2024 in #❓・help
Middleware doesn't work (well) when using async/await?!
No description
12 replies
NNuxt
Created by Nik ⚡ on 5/23/2024 in #❓・help
Getting access to cookies in middleware
No description
39 replies
NNuxt
Created by Nik ⚡ on 5/23/2024 in #❓・help
Getting access to cookies in middleware
Thanks for your help anyways!
39 replies
NNuxt
Created by Nik ⚡ on 5/23/2024 in #❓・help
Getting access to cookies in middleware
I would really like to use it, but it's just not making it easy for me to like it... :*(
39 replies
NNuxt
Created by Nik ⚡ on 5/23/2024 in #❓・help
Getting access to cookies in middleware
Lol, I am giving up.. So it works for the simple check to see if the session exists. If I also do the additional check for the JWT I am again getting this strange split second redirect, so strange!!
39 replies
NNuxt
Created by Nik ⚡ on 5/23/2024 in #❓・help
Getting access to cookies in middleware
No description
39 replies
NNuxt
Created by Nik ⚡ on 5/23/2024 in #❓・help
Getting access to cookies in middleware
Even though this is such a small project, creating a band new one now with just the protected page and the middleware, let's see.
39 replies
NNuxt
Created by Nik ⚡ on 5/23/2024 in #❓・help
Getting access to cookies in middleware
Also tried in a different browser, same issue.
39 replies
NNuxt
Created by Nik ⚡ on 5/23/2024 in #❓・help
Getting access to cookies in middleware
Yeah there is not really anything to the app.. It's strange.
39 replies
NNuxt
Created by Nik ⚡ on 5/23/2024 in #❓・help
Getting access to cookies in middleware
39 replies
NNuxt
Created by Nik ⚡ on 5/23/2024 in #❓・help
Getting access to cookies in middleware
No description
39 replies
NNuxt
Created by Nik ⚡ on 5/23/2024 in #❓・help
Getting access to cookies in middleware
No description
39 replies
NNuxt
Created by Nik ⚡ on 5/23/2024 in #❓・help
Getting access to cookies in middleware
I think it's just me missing something important regarding the fact that it's a ref?
39 replies
NNuxt
Created by Nik ⚡ on 5/23/2024 in #❓・help
Getting access to cookies in middleware
It doesn't redirect (navigateTo) at all, whether a cookie with name session is set or not.
39 replies