zor
KKinde
•Created by zor on 4/27/2024 in #💻┃support
Should I include user model in database schema? And how to handle users registering their business?
13 replies
KKinde
•Created by zor on 3/4/2024 in #💻┃support
Next.js - Middleware for Kinde & Redirect to login page
Hi, I'm coming from a Kinde competitor, I love Kinde. It has many more advantage for me also how it already includes the 2FA.
I am using Next.js 14 I want to redirect user to login page directly. Docs says
💡 As of right now the middleware in the app router does not work when trying to redirect to api/auth/login. This is because of Next.js caching which causes issues during authentication.
. So do I have to put every page.tsx
? Also redirect to sign in would be better UX for. So isn't that possible to use Middleware for my situation?16 replies
KKinde
•Created by zor on 3/3/2024 in #💻┃support
<LoginLink> / <RegisterLink> causes: "Error: (0 , react__WEBPACK_IMPORTED_MODULE_0__.createContext)"
CODE CAUSES ERROR:
ERROR:
7 replies