How users can update their own profile?
hey, I want to develop user profile page with nextjs application where user can update their basic details, change passwords, link or unlink social accounts, or delete their account... but I am not able to find any docs which enables user to update their profile data other than the dashboard or m2m authenticated management api (which I don't think a good idea to update the user's data from a frontend application). Is there any way using which the frontend application use the users access token to update their own profile?
2 Replies
Hi @AnoNymoUs , thank you for reaching out. Let me take a closer look at this and see how we can address your concern regarding the frontend application updating user profile data using their access token. I'll get back to you shortly with more information.
Hi @AnoNymoUs,
To allow users to update their profile (like changing details, passwords, or linking/unlinking accounts) using the frontend, you can securely use the user's access token to make API calls to Kinde's user management API.
While M2M APIs are for backend use, you can use the access token from the frontend to interact with Kinde’s profile API endpoints to manage user data.
Please refer to the following docs:
Kinde User Management API
Kinde Authentication API
Let me know if this helps or if you need further assistance
Kinde docs
Kinde Management API
The management API is for managing your Kinde account. Most things that can be done via the Kinde admin UI can be done with this API
Kinde docs
Call the Kinde Management API
Our developer tools provide everything you need to get started with Kinde.