theo
theo
Explore posts from servers
KKinde
Created by theo on 9/8/2024 in #💻┃support
Unable to visit /admin/*
since its a school project it has to be in a private repo can i just add you to it
12 replies
KKinde
Created by theo on 9/8/2024 in #💻┃support
Unable to visit /admin/*
No description
12 replies
KKinde
Created by theo on 9/8/2024 in #💻┃support
Unable to visit /admin/*
i’ll try that when i get back, and if you need access to the repo i can give it
12 replies
KKinde
Created by theo on 9/8/2024 in #💻┃support
Unable to visit /admin/*
i dont redirect or anything, and i will admit that its some bad code, but notrhing that should be causing this, especially since the user is already authenticated, and it only happens on prod, on localhost it behaves as normal
12 replies
KKinde
Created by theo on 9/8/2024 in #💻┃support
Unable to visit /admin/*
in debugging all this i brought my middleware to the simpliet it could be at
import {withAuth} from '@kinde-oss/kinde-auth-nextjs/middleware'
export default function middleware(req) {
return withAuth(req)
}
export const config = {
matcher: ["/admin/:path*"]
}
import {withAuth} from '@kinde-oss/kinde-auth-nextjs/middleware'
export default function middleware(req) {
return withAuth(req)
}
export const config = {
matcher: ["/admin/:path*"]
}
and im using the nextjs sdk 2.3.8
12 replies
KKinde
Created by theo on 7/16/2024 in #💻┃support
Middleware based protection not working
i had the middleware in app/ rather than src/ im so sorry thank you!!!!
7 replies