Token being sent
Im using react trying to get a token to send to my express backend...getToken is not working... any ideas?
(I am willing to pay someone to make a video showing a todo application between react/express/mongo and incoperating Kinde, lmk if anyone would be interested)
6 Replies
Hey @Daniel Ridley,
Sorry to hear you're having trouble with
getToken
. Let's see if we can figure this out.
First, make sure you're using the getToken
function from the useKindeAuth
hook. Here's an example of how you might use it:
If you're still having issues, could you provide a bit more context.
Also, if you are willing to send me a recording of what happens in a DM that would be super helpful.
(I am willing to pay someone to make a video showing a todo application between react/express/mongo and incoperating Kinde, lmk if anyone would be interested)Generous offer, by the way.
I've attempted to use object destructuring and dot notation for this part, but neither approach seems effective. Could you suggest any alternatives?
Let me reach out to my team on this issue and get back to you.
This is a slightly different use case, but similar idea. The array for the second
useEffect
parameter is the list of variables that are tracked to determine whether the logic is triggered again on each render. In my case, I'm calling a GraphQL endpoint, but fetch would be similar:
Hey @Daniel Ridley,
A huge apologise, this message dropped of my teams radar.
Please let me know if you are still experiencing this issue?
If you are, I will raise this with urgency with my team.
Also thanks @Derek for weighing in here.
Did your code above work for you?