DrewHack
DrewHack
TTCTheo's Typesafe Cult
Created by DrewHack on 7/10/2023 in #questions
Trying to setup NextAuth with middleware.tsx file - login is happening but always returns to login
I believe it was setting the strategy to JWTs
9 replies
TTCTheo's Typesafe Cult
Created by DrewHack on 8/22/2023 in #questions
Pretty Basic (I think) React / Tailwind / Next question
Awesome thank you! Honestly I was so stuck on this I think. That’s a great jumping off point to be honest
9 replies
TTCTheo's Typesafe Cult
Created by DrewHack on 8/22/2023 in #questions
Pretty Basic (I think) React / Tailwind / Next question
I’m still thinking with a PHP brain
9 replies
TTCTheo's Typesafe Cult
Created by DrewHack on 8/22/2023 in #questions
Pretty Basic (I think) React / Tailwind / Next question
Yeah I was able to get what he was doing working in the base example but once I started trying to adapt it is where things went awry
9 replies
TTCTheo's Typesafe Cult
Created by DrewHack on 8/22/2023 in #questions
Pretty Basic (I think) React / Tailwind / Next question
9 replies
TTCTheo's Typesafe Cult
Created by DrewHack on 7/10/2023 in #questions
Trying to setup NextAuth with middleware.tsx file - login is happening but always returns to login
figured it out
9 replies
TTCTheo's Typesafe Cult
Created by DrewHack on 7/10/2023 in #questions
Trying to setup NextAuth with middleware.tsx file - login is happening but always returns to login
for good measure testing and renaming to .ts from .tsx did not change the behaviour
9 replies
TTCTheo's Typesafe Cult
Created by DrewHack on 7/10/2023 in #questions
Trying to setup NextAuth with middleware.tsx file - login is happening but always returns to login
Seems like that is not the issue. without middleware.tsx the page renders without auth. With it, it renders with auth. I think the issue may be more related to my nextauth callbacks and I was looking in the wrong place
9 replies