Dave
Dave
KKinde
Created by Dave on 8/26/2024 in #💻┃support
How to use Is_create_org in NextJs.
The documentation is very brief on this parameter for NextJs. It doesn't give any details on what it actually does. I was assuming I could do something like:- <RegisterLink is_create_org={true}>Sign Up</...> but it doesn't appear to accept that parameter. When a user signs up, I want them to enter an organisation name that will be created besides their account. Thx.
9 replies
KKinde
Created by Dave on 8/22/2024 in #💻┃support
"Invalid request error" post login. Http vs. https.
Hi, I've successfully been developing on localhost and have just tried to deploy to Vercel with this error:- {"error":"Authentication flow: Received: b874193af6978e5ad6a828eb3a1d | Expected: State not found"} URL is stuck on this:- [https://morezero.vercel.app/api/auth/kinde_callback?code=wQC-A].... Obvioulsy I'm missing something in configuration but haven't been able to find it. I've verified my urls. Please help. Thanks, Dave
1 replies
KKinde
Created by Dave on 8/18/2024 in #💻┃support
Need advice on multi-tenant design
My NextJs webapp facilitates companies developing apps and making them accessible via plans and subscriptions. Using an example, company A develops App1 and App2, accessible on app1.companyA .com and app2.companyA.com respectively.
Company B subscribes to a 5-user license for the use of App1 from company A (assuming via a product plan). Up to 5 users (employees) of Company B can create user accounts for App1 from Company A and access it. Company C subscribes to a 10-user license plan for App2, allowing up to 10 users (employees) from company C to use App2. Company C also offers its own app, App3, which is subscribed to by Company A. I’m assuming using features for app access and org_codes for separation of users by company will be part of the solution (also to leverage the upcoming plans/subscription functionality). However, I don’t know how to put it together, specifically, what is offered out of the box, and how to best implement what is not, utilizing Kinde framework. Please help. Thanks, Dave
9 replies