https://supertokens.com/ logo
Title
j

Jokcy

12/29/2022, 3:30 AM
Hi I feel complicated to debug my apis with my postman since I need to copy the cookies into it and there are some other cookies I'm not sure if it will affect the authentication result. Is there any better way for debugging?
r

rp

12/29/2022, 5:35 AM
hey @Jokcy you should ideally call the login API via postman. From there on, postman will handle cookie on its own.
there should be a section on testing with postman in the the recipe docs
if on the other hand, you want to copy / paste cookies from the browser, then you should set the sAccessTokena and sIdRefreshToken in postman cookies when making API calls. For refreshing of a session, you would copy the sRefreshToken and sIdRefreshToken
j

Jokcy

12/29/2022, 7:11 AM
OK, I will try