IkiTg07
IkiTg07
Explore posts from servers
KKinde
Created by DisamDev on 11/13/2024 in #💻┃support
User referral codes
Hey just a quick note I forgot to say that when i redirect the user to the /invite page i also pass it the ref url param so it's more like
www.my-domain.com/invite?ref=12345
www.my-domain.com/invite?ref=12345
22 replies
KKinde
Created by DisamDev on 11/13/2024 in #💻┃support
User referral codes
Sorry for the late answer. Hope this helps. Don't mind asking for anything else !
22 replies
KKinde
Created by DisamDev on 11/13/2024 in #💻┃support
User referral codes
I did it using custom sign-in/up but it should work even with kinde's default pages you'll just need a little extra So what I did when making an invitation auth flow was : - create an invitation link like
www.my-domain.com?ref=12345
www.my-domain.com?ref=12345
(ref here is an id or something that points to the referer user in my DB) - send the link via sms / mail - when someone clicks the link he is redirect to a custom page like
www.my-domain.com/invite
www.my-domain.com/invite
- Here using my custom sign-up or even Kinde Registerlink you make the user registers himself but you'll pass an argument
postLoginRedirectURL
postLoginRedirectURL
either to your custom function or as a props on RegisterLink with my callback in which i'll add the ref URL param. So it will look like
postLoginRedirectURL="www.my-domain.com/register/callback?ref=12345"
postLoginRedirectURL="www.my-domain.com/register/callback?ref=12345"
- On the callback i'll have the logic to get check if there is a ref url param. If so then I'll attach the referer id to the referee. In the end it will let me know User B has registered with a referral link from User A (id 12345)
22 replies
KKinde
Created by Tito on 11/14/2024 in #💻┃support
Autocreate orgs by email domain?
If you have a fixed and defined list of domains it could somewhat be doable. Other than that from what i know there are no way of doing that using kinde defaults. You'll have to make it work on your own
2 replies
KKinde
Created by DisamDev on 11/13/2024 in #💻┃support
User referral codes
Gimme a minute i'll try to be more concise
22 replies
KKinde
Created by DisamDev on 11/13/2024 in #💻┃support
User referral codes
The RegisterLink component from kinde can take postredirecturl as a prop so you'd have to use the post redirect url to which you'll attach your param
22 replies
KKinde
Created by DisamDev on 11/13/2024 in #💻┃support
User referral codes
I' encoded the params to retrieve the referer id inside later
22 replies
KKinde
Created by DisamDev on 11/13/2024 in #💻┃support
User referral codes
So the first time with the referal code inside the url sent to the user i'd check upon signing-up in the callback if there's a referral in the url to use it for other logic (I was using it to flag the referee to its referrer for a fidelity and referral system)
22 replies
KKinde
Created by DisamDev on 11/13/2024 in #💻┃support
User referral codes
So ive done it twice First time I just created a special link with referral and sent it via SMS or email Second I created the user in kinde using the management api and sent an email for the user to sign in for the account verification. I guess with this method you could wait until the invited user verifies his profile before adding it to the DB
22 replies
KKinde
Created by DisamDev on 11/13/2024 in #💻┃support
User referral codes
Hello, unfortunalety no but it's something i've myself asked in the past so I know it's somewhere in their plan. I'll let them know others are asking for it tho
22 replies
KKinde
Created by Stéphane on 11/13/2024 in #💻┃support
Trouble with SMS
Hey so if you check on this page : https://docs.kinde.com/authenticate/authentication-methods/phone-authentication/?r=search#_top You'll see this info bubble :
If you just want to test this feature first, Kinde allows you to send 10 SMS messages per month without setting up Twilio. If you want the feature to be live for your users, you must implement the full Twilio setup.
So you're limited to 10 sms for testing purposes. If you want more you'll have to bring your own sms provider
3 replies
KKinde
Created by Sleighty on 11/12/2024 in #💻┃support
Scalability of feature flags in access token claims
I don't see it on the docs. Let me ask the team for you
3 replies
KKinde
Created by jw on 11/10/2024 in #💻┃support
User handles / usernames
Do you have an env in which I could test signin up ?
3 replies
KKinde
Created by jw on 11/10/2024 in #💻┃support
User handles / usernames
Hey, so it's not so clear for me because i'm not using username authentication. But in the docs each username is bound to an email in order to make the initial account verification. In the process of signin-up the user fills its info and then after getting the code he picks his username So it should be unique in theory
3 replies
KKinde
Created by dillorscroft on 11/9/2024 in #💻┃support
Suspend an Organisation?
I see how it could be a pain yeah. I’ll let the team know !
8 replies
KKinde
Created by dillorscroft on 11/9/2024 in #💻┃support
Suspend an Organisation?
Unfortunately you can't. Could you please share your use case tho ?
8 replies
KKinde
Created by Samyam on 11/6/2024 in #💻┃support
How to get role of the current logged in user
No description
4 replies
KKinde
Created by Samyam on 11/6/2024 in #💻┃support
How to get role of the current logged in user
Could you please tell me what your use case for getRoles is ?
4 replies
KKinde
Created by Samyam on 11/6/2024 in #💻┃support
How to get role of the current logged in user
You're right. Let me tell the team about it
4 replies
KKinde
Created by Mert Efe Cerit on 11/2/2024 in #💻┃support
A nuxt project from scratch giving index.mjs error (Kinde Nuxt Module)
Awesome. Great to hear you solved it and thanks for the insight
4 replies