Get profile details from login user jwt token react js
Loading
Get profile details from login user jwt token react js
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rijwan AnsariPosted Jul 6, 2021, 11:26 AM
HI,
You cannot get login user from token only, you need validate token in backend and return user details in respose or header from backend. Then you can read header or response details for user.