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?
My questions were all that I think
13 replies
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?
That makes much sense, thank you so much.
13 replies
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?
Okay thanks
13 replies
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?
How am I going to keep the relation between models since Kinde's models are not registered in my database schema?
13 replies
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?
Let's say it is an Inventory management system app for restaurants
13 replies
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 4/27/2024 in #💻┃support
Should I include user model in database schema? And how to handle users registering their business?
So I should not create a user model in the database schema right?
E.g.
- User and users restaurants will not have a model but other objects of the restaurants e.g. menu, inventory... will have an model?
13 replies
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?
To make your work easier, you can just tell me if this is correct answer or the LLM has hallucinated:
13 replies
KKinde
•Created by zor on 3/4/2024 in #💻┃support
Next.js - Middleware for Kinde & Redirect to login page
Sorry I think you don't understand my messages, sorry for that confusion. I think my project is page router so I am asking if it affects me by a bit.
16 replies
KKinde
•Created by zor on 3/4/2024 in #💻┃support
Next.js - Middleware for Kinde & Redirect to login page
I am aware of plans, I checked your pricing page - https://kinde.com/pricing/
Does the app router middleware limitation affect me by any bit? Will I have to consider escaping it somehow in the future?
16 replies
KKinde
•Created by zor on 3/4/2024 in #💻┃support
Next.js - Middleware for Kinde & Redirect to login page
No, I asked if I should be worried for any problem in the future in my middleware protecting.
16 replies
KKinde
•Created by zor on 3/4/2024 in #💻┃support
Next.js - Middleware for Kinde & Redirect to login page
I guess, it worked. After many reads, I noticed it says for only app router and I guess mine is page router
/dashboard/page.tsx
So I guess there are no limitation for me right? I can just use Kinde like Clerk, no middleware issues?16 replies
KKinde
•Created by zor on 3/4/2024 in #💻┃support
Next.js - Middleware for Kinde & Redirect to login page
Thank you. I've told "
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.
" though. I use Next.js and I've attempted to use middleware before and it didn't work. Are you sure it is working or not? I am confused because I think I've just told yes and no in this conversation, sorry for the confusion.
"Regarding your question about redirecting users to the login page directly in a Next.js 14 environment, you're correct in noting the current limitation with middleware due to Next.js caching, which affects the ability to use middleware for redirection to api/auth/login.
"16 replies
KKinde
•Created by zor on 3/4/2024 in #💻┃support
Next.js - Middleware for Kinde & Redirect to login page
Clerk was working well for me by using just middleware.js to protect every page except the landing page. I'm not very experienced, so I apologize if this seems like a basic question, but I felt that directly protecting every page provided better stability.
Is this a proper solution, and would it be proper way to follow continue using Kinde in this way? I'm a bit confused and trying to determine if Kinde is the right authentication solution for my project. Your guidance and personal perspective on this, would be appreciated. Also, I'm using Convex as my backend(BaaS).(https://www.convex.dev)
To give some context, imagine a fintech solution like Square (https://squareup.com). Would Kinde integrate well with that kind of application?
16 replies
KKinde
•Created by zor on 3/3/2024 in #💻┃support
<LoginLink> / <RegisterLink> causes: "Error: (0 , react__WEBPACK_IMPORTED_MODULE_0__.createContext)"
I have resolved the issue. I'm not certain what the exact cause was, but here are the steps I took:
Created a new project.
Transferred code to the new project.
Verified and updated npm package versions as needed.
These actions resulted in the code working as intended. This information may be useful for future troubleshooting.
7 replies
KKinde
•Created by zor on 3/3/2024 in #💻┃support
<LoginLink> / <RegisterLink> causes: "Error: (0 , react__WEBPACK_IMPORTED_MODULE_0__.createContext)"
7 replies