Go to website
Docs
Log in
Log into community
Welcome to the Kinde community
View all posts
Related posts
Did this answer your question?
😞
😐
😃
Powered by
Hall
Inactive
Updated last month
0
Follow
Can I change the user info from the SDK?
Can I change the user info from the SDK?
Inactive
0
Follow
D
DisamDev
last month
·
I would like to create a page so that the user can change his first name, last name, email, password... but I can't find docs to do it.
I
D
C
17 comments
Share
Open in Discord
I
IkiTg07
last month
Hey which SDK are you using ?
D
DisamDev
last month
nextjs sdk
I
IkiTg07
last month
I think The NextJs SDK exports a management client but I’d advise you to use @kinde/management-api-js instead
D
DisamDev
last month
okay
D
DisamDev
last month
@IkiTg07
D
DisamDev
last month
https://kinde.com/api/docs/#update-user
D
DisamDev
last month
I got this but i dont know how to switch to using the npm API without using the endpoint
I
IkiTg07
edited last month
Check this
https://github.com/kinde-oss/management-api-js
D
DisamDev
last month
when using the init() you have to set the env variables?
D
DisamDev
last month
inside the init()
D
DisamDev
last month
KINDE_MANAGEMENT_CLIENT_ID: Client ID of your M2M token
KINDE_MANAGEMENT_CLIENT_SECRET: Client Secret of your M2M token
D
DisamDev
edited last month
where i get this
I
IkiTg07
last month
Yes
I
IkiTg07
last month
Not inside just in your env file
I
IkiTg07
last month
To get these you need to create a M2M application in your kinde dashboard and get the values there
C
CB_Kinde
edited last month
Hi @DisamDev this topic will help:
https://docs.kinde.com/developer-tools/kinde-api/add-a-m2m-application-for-api-access/
D
DisamDev
last month
thanks
Add a reply
Sign up and join the conversation on Discord
Join on Discord