Intercept Kinde Callback
Hello, I'm wondering what is the best pattern to intercept Kinde's callback URL and do some work before letting the redirect through?
A current use case is that I have email invite setup where if user A signs up to Org X, I need to double check if user A was invited to Org X after they've signed up on Kinde via a Register Link. I've tried to add an onSuccess functino within handleAuth but I don't think it's working because console.log doesn't even show up in npm run dev.
Would appreciate some suggestions, thank you!
A current use case is that I have email invite setup where if user A signs up to Org X, I need to double check if user A was invited to Org X after they've signed up on Kinde via a Register Link. I've tried to add an onSuccess functino within handleAuth but I don't think it's working because console.log doesn't even show up in npm run dev.
Would appreciate some suggestions, thank you!