I’m following https://docs.retool.com/docs/custom-api-authentication doc for setup custom auth in my retool application. Everything is working fine, except step 5 " Saving the Authentication Token". I’m trying to set a variable name PASSWORD from my response JSON but it’s always showing undefined. I’ve tries multiple ways to access it but every time it reacts the same.
My login response structure:- https://prnt.sc/wfsabt
Using token in a header:- https://prnt.sc/wfsbpb
Define a variable:- https://prnt.sc/wfscv2
I also tried {{http1}}, {{http1.body}}, {{http1.body.json.name}} and etc… but everytime it return undefined in PASSWORD.
TIA