HTSagara / PRJ-566-ZAA-Team-1

3 stars 0 forks source link

API Retrieve User Details #107

Closed JonPeeAir closed 1 month ago

JonPeeAir commented 1 month ago

GET /user This api will be used for populating the "Profile Page" with the user's details.

Notes:

HTSagara commented 1 month ago

I was able to retrieve the user's details using jwt!

Image

I will try to do it using boto3

JonPeeAir commented 1 month ago

I was able to retrieve the user's details using jwt!

Image

I will try to do it using boto3

Was it by using id token?

Cus ye lets try to access token asuch as possible because i read somewhere how thats more secure and i think using boto3 u can get user info using access token

Lets try to use access token for everything as much as possible for consistency.

HTSagara commented 1 month ago

I used the access token, but didn't use boto3

JonPeeAir commented 1 month ago

I used the access token, but didn't use boto3

Ohhh, maybe we can use that approach as well if its cleaner than using boto3