MurtazaKp
MurtazaKp
KKinde
Created by MurtazaKp on 10/30/2024 in #💻┃support
Kinde working on local but not working on live Envoirment
I'm working on a site with Kinde authentication applied to the inner pages of the /experience route. While everything works as expected locally, the live site at https://www.setoo.co/experience is showing a 500 error when accessing these inner pages. Here’s the middleware code used to protect the inner pages:
import { withAuth } from "@kinde-oss/kinde-auth-nextjs/middleware";

export default withAuth({
loginPage: '/api/auth/login', // Redirect to login page if not authenticated
isReturnToCurrentPage: true,
});

export const config = {
matcher: ["/experience/:path*"], // Protect inner pages under /experience
};
import { withAuth } from "@kinde-oss/kinde-auth-nextjs/middleware";

export default withAuth({
loginPage: '/api/auth/login', // Redirect to login page if not authenticated
isReturnToCurrentPage: true,
});

export const config = {
matcher: ["/experience/:path*"], // Protect inner pages under /experience
};
I’m unsure why this error only occurs on the live site and would appreciate any guidance on resolving this issue. I have attached a video of the issue for better understanding https://jam.dev/c/3163f5e3-b557-406b-bcda-8ef770ff9d80
3 replies
KKinde
Created by MurtazaKp on 2/26/2024 in #💻┃support
Only Signup page
Hi I am new to kinde I have a login and a signup form I want user to login via signup only I dont want login for that I have use RegisterLink component but is there any way to remove the "Already a account login " text from signup screen refer the below image https://jam.dev/c/b3286b5c-bb6c-45cc-bba6-bbf9ce8d5071
9 replies