Yoshify
Yoshify
KKinde
Created by Kenton on 11/21/2024 in #💻┃support
How to Configure 1 org with email + password auth and all other orgs with MFA
Hey Kenton. Organization level auth control is an advanced organisation feature and will require the Kinde Scale plan. https://docs.kinde.com/authenticate/custom-configurations/advanced-organization/
2 replies
KKinde
Created by Woet on 11/20/2024 in #💻┃support
Custom SMTP settings using resend not working
Glad to hear it!
5 replies
KKinde
Created by TotalScrub on 11/19/2024 in #💻┃support
How can I have a distinct login & registration experience without custom UIs?
The way I do it is the primary key of my subscriptions table in my DB is the stripe customer ID and that contains everything related to a customers subscription like tier, renewal date, etc. I store just the stripe customer ID in Kinde. Works great for me. I'm quite excited for Kinde's billing, but my products in Stripe are quite complicated, so I don't think V1 of Kinde's billing will support the things I need like overages on metered events. But from early looks it'll probably work great for basic subscription/seat based SaaS products! Feel free to reach out to me in a DM if you want to chat about this stuff further.
12 replies
KKinde
Created by TotalScrub on 11/19/2024 in #💻┃support
How can I have a distinct login & registration experience without custom UIs?
Absolutely - but storing the data may let you do more complicated queries within your database, and some people prefer "owning" their data in the case that they want to transition to different auth providers
12 replies
KKinde
Created by TotalScrub on 11/19/2024 in #💻┃support
How can I have a distinct login & registration experience without custom UIs?
It depends on how complex the data you have related to a user/org is, but to seperate concerns I prefer keeping Kinde as my source of truth for user/org related data - everything I need to store about that user or org is a property (stripe customer ID, various onboarding details, etc) Some people may prefer to go the webhook route and keep a copy of their Kinde data in their database and work off that instead - I did this for another project I was working on and it works great, but it does feel a bit redundant keeping two sets of auth related data when you could just keep it all in Kinde 🙂
12 replies
KKinde
Created by TotalScrub on 11/19/2024 in #💻┃support
How can I have a distinct login & registration experience without custom UIs?
Works really well for me, let me know if you have any questions about the details @IkiTg07 🙂
12 replies
KKinde
Created by Woet on 11/20/2024 in #💻┃support
Custom SMTP settings using resend not working
For context, TLS is a requirement set by Kinde - documentation for reference
5 replies
KKinde
Created by Woet on 11/20/2024 in #💻┃support
Custom SMTP settings using resend not working
Try a TLS port like 587, that should work 🙂
5 replies
KKinde
Created by electronicdoorman on 11/19/2024 in #💻┃support
Management API SDK
You should be able to access it in the SDK via Users.deleteUserSessions - https://github.com/kinde-oss/management-api-js/blob/main/lib/api/services.gen.ts#L3758
4 replies
KKinde
Created by electronicdoorman on 11/19/2024 in #💻┃support
Management API SDK
Yes it is! The JS management API is generated from the management API reference - https://docs.kinde.com/kinde-apis/management/#tag/users/delete/api/v1/users/%7Buser_id%7D/sessions
4 replies
KKinde
Created by Zer0Down on 11/19/2024 in #💻┃support
Authentication flow: Received: null | Expected: State not found (Next14, Vercel)
Glad to hear it 🙌
23 replies
KKinde
Created by Zer0Down on 11/19/2024 in #💻┃support
Authentication flow: Received: null | Expected: State not found (Next14, Vercel)
Hoping you stick around now that it's working, Kinde really does have a lot to offer (I'm not affiliated, just an avid user) - if not I understand, and glad I could help you out regardless!
23 replies
KKinde
Created by Zer0Down on 11/19/2024 in #💻┃support
Authentication flow: Received: null | Expected: State not found (Next14, Vercel)
(you may want to delete the little Test Tester account I've created to help you! )
23 replies
KKinde
Created by Zer0Down on 11/19/2024 in #💻┃support
Authentication flow: Received: null | Expected: State not found (Next14, Vercel)
I think we were looking at 2 issues here - Vercel Deployment Protection + incorrect use of KINDE_COOKIE_DOMAIN
23 replies
KKinde
Created by Zer0Down on 11/19/2024 in #💻┃support
Authentication flow: Received: null | Expected: State not found (Next14, Vercel)
I just logged in.
23 replies
KKinde
Created by Zer0Down on 11/19/2024 in #💻┃support
Authentication flow: Received: null | Expected: State not found (Next14, Vercel)
I mean... it works 😛
23 replies
KKinde
Created by Zer0Down on 11/19/2024 in #💻┃support
Authentication flow: Received: null | Expected: State not found (Next14, Vercel)
KINDE_COOKIE_DOMAIN from my understanding is if you're using a custom Kinde domain and your authentication flow starts and ends on the same domain (at different subdomains), e.g., your app is at app.X.com and your Kinde custom domain is auth.X.com
23 replies
KKinde
Created by Zer0Down on 11/19/2024 in #💻┃support
Authentication flow: Received: null | Expected: State not found (Next14, Vercel)
Could you try rebuilding with that removed? Just going off the network inspector when it tries to set the state cookie it's attempting to set it for Domain=.task-badger.vercel.app; but your auth is on https://samhudson.kinde.com/
23 replies
KKinde
Created by Zer0Down on 11/19/2024 in #💻┃support
Authentication flow: Received: null | Expected: State not found (Next14, Vercel)
Are you using the KINDE_COOKIE_DOMAIN env var by any chance?
23 replies
KKinde
Created by Zer0Down on 11/19/2024 in #💻┃support
Authentication flow: Received: null | Expected: State not found (Next14, Vercel)
Can I also confirm your production environment has been built/rebuilt since setting those environment variables in Vercel?
23 replies