Hi, for my application, Backend service is Python ...
# ask-a-descoper
b
Hi, for my application, Backend service is Python and frontend is React. Frontend app on successful authentication send access token for accessing apis, I have to retrieve the user details in backend service. I am looking at apis using which I can retrieve user details post token validation. From sdk I could see that it requires refresh token to retrieve details. Is there a way to retrieve user details using access token?
s
yes, 2 options: 1. Add user info to jwt custom claims https://docs.descope.com/manage/customclaims/ 2. use backend py sdk to load user , with mgmt key https://github.com/descope/python-sdk#manage-users
b
b
Thanks for the help..
b
Sure thing. Let us know how it goes, and if there is anything else we can assist with