K
Kinde10mo ago
aaron_web3

Linking to my sign up

Hi, I want to link to my sign up account.mydomain.com from some landing pages that are generated by drag and drop style tools. When i link to account.mydomain.com i just get a strange landing page. How would i link to sign up using a url only? Thanks
5 Replies
onderay
onderay10mo ago
Hey @aaronweb3 what Kinde SDK are you using?
aaron_web3
aaron_web310mo ago
Hey, i'm working with the react SDK for my main application
onderay
onderay10mo ago
Thanks for letting me know @aaronweb3. Not 100% how much control you have with your landing page tool. But you can directly link to the sign-up page using the Kinde React SDK. You can use the register function from the useKindeAuth hook to redirect users to the Kinde sign-up page. Here's an example of how you can do this: import {useKindeAuth} from '@kinde-oss/kinde-auth-react'; const { register } = useKindeAuth(); <button onClick={register} type="button">Sign up</button> In this example, clicking the "Sign up" button will redirect users to the Kinde sign-up page. Please note that you need to replace the placeholders in the Kinde SDK initialization with your actual Kinde domain and client ID. Also, make sure to set the correct callback URLs in your Kinde settings. If you're using a custom domain, you should replace your_kinde_domain.kinde.com with your custom domain like account.mydomain.com. Let me know if you need more help with this!
aaron_web3
aaron_web310mo ago
Hey, no worries, I got around this by adding in a couple of components that resolve at /login and /register in my react app and then pointed the landing pages at them. Works just fine. Thanks for the help
onderay
onderay10mo ago
Awesome to hear @aaronweb3
Want results from more Discord servers?
Add your server