CABZZ
KKinde
•Created by CABZZ on 4/10/2024 in #💻┃support
NextJS Kinde Management API troubles
Hello,
I have a nextjs project using the @kinde-oss/kinde-auth-nextjs package and I am having trouble using the management api.
I followed the docs by adding the credentials to env file and enabled the management api for the project doing the following: Navigate to Settings → APIs → Kinde Management API → Applications and enable your Next.js app.
Then I implemented the following code to retrieve a Kinde user by its id:
The problem is that the response of getUserData() is always HTTP 403 and I don't know how to resolve this.
Can anyone help me with this?
Thank you,
Joël
13 replies