Korven
Korven
RReactiflux
Created by Hikmet on 10/27/2024 in #react-forum
Session token received but it doesn't work
well now you know :p you can mark this as closed and stuff
60 replies
RReactiflux
Created by Hikmet on 10/27/2024 in #react-forum
Session token received but it doesn't work
reading the docs is a good habit
60 replies
RReactiflux
Created by Hikmet on 10/27/2024 in #react-forum
Session token received but it doesn't work
i just Google Nexjs middleware
60 replies
RReactiflux
Created by Hikmet on 10/27/2024 in #react-forum
Session token received but it doesn't work
so yeah there you go 😄
60 replies
RReactiflux
Created by Hikmet on 10/27/2024 in #react-forum
Session token received but it doesn't work
so if you're using the app dir, it needs to be besides app, not inside it if I'm reading this right
60 replies
RReactiflux
Created by Hikmet on 10/27/2024 in #react-forum
Session token received but it doesn't work
Use the file middleware.ts (or .js) in the root of your project to define Middleware. For example, at the same level as pages or app, or inside src if applicable.
60 replies
RReactiflux
Created by Hikmet on 10/27/2024 in #react-forum
Session token received but it doesn't work
i found your problem
60 replies
RReactiflux
Created by Hikmet on 10/27/2024 in #react-forum
Session token received but it doesn't work
okay so
60 replies
RReactiflux
Created by Hikmet on 10/27/2024 in #react-forum
Session token received but it doesn't work
try it out anyways, you can revert if not
60 replies
RReactiflux
Created by Hikmet on 10/27/2024 in #react-forum
Session token received but it doesn't work
maybe that's causing the issue?
60 replies
RReactiflux
Created by Hikmet on 10/27/2024 in #react-forum
Session token received but it doesn't work
than the original video code
60 replies
RReactiflux
Created by Hikmet on 10/27/2024 in #react-forum
Session token received but it doesn't work
you have a different folder structure I'm seeing
60 replies
RReactiflux
Created by Hikmet on 10/27/2024 in #react-forum
Session token received but it doesn't work
I'm on my phone so that ain't an option 😬
60 replies
RReactiflux
Created by Hikmet on 10/27/2024 in #react-forum
Session token received but it doesn't work
to see where it's not behaving as expected
60 replies
RReactiflux
Created by Hikmet on 10/27/2024 in #react-forum
Session token received but it doesn't work
I'd recommend using a debugger and stepping through it line by line
60 replies
RReactiflux
Created by Hikmet on 10/27/2024 in #react-forum
Session token received but it doesn't work
so there's probably a bug in there somewhere
60 replies
RReactiflux
Created by Hikmet on 10/27/2024 in #react-forum
Session token received but it doesn't work
the middleware is supposed to prevent that
60 replies
RReactiflux
Created by Hikmet on 10/27/2024 in #react-forum
Session token received but it doesn't work
right?
60 replies
RReactiflux
Created by Hikmet on 10/27/2024 in #react-forum
Session token received but it doesn't work
you can go back to the login page after logging in
60 replies