Daniel237
KKinde
•Created by Daniel237 on 6/18/2024 in #💻┃support
No audience for token in react native
I am having an issue where I am trying to create a token for a microservice of mine, and that microserivce checks for the audience of incoming requests, since I use it for a web app as well. And I cannot find a way to have the audience set in the access token obtained by the react native app.
I am using expo,
const client = new KindeSDK(
process.env.KINDE_ISSUER_URL!,
process.env.KINDE_POST_CALLBACK_URL!,
process.env.KINDE_CLIENT_ID!,
process.env.KINDE_POST_LOGOUT_REDIRECT_URL!,
undefined,
{
audience: "http://localhost:5010",
}
);
The undefined there is the scope, since I haven't set those up yet.
I mention that I have set up the API's in the Kinde dashboard and everything, so I don't really know where the issue is coming from.
Did someone face this or can anyone help me with it?
11 replies
KKinde
•Created by Daniel237 on 6/7/2024 in #💻┃support
Authentication flow: Received : key | Expected: State not found
I am facing this issue that seems that whenever '/api/auth/kinde_callback' is being requested, the app fails and there is this issue in the console of my Next.js app (mentioned in the title). Yesterday I did not have any issues, but today when I tried to work on my app, this is what I have faced
34 replies